Fires immediately after an ability finished executing.
$this->name, $input, $result
Sortie :
@param string $ability_name The name of the ability. @param mixed $input The input data for the ability. @param mixed $result The result of the ability execution.
// Ajouter une fonction au hook action 'wp_after_execute_ability'
add_action('wp_after_execute_ability', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($this->name, $input, $result) {
// Votre code ici
error_log('Hook wp_after_execute_ability déclenché');
}
Chargement des actualités...