Retrieves the number of times an action has been fired during the current request.
$value, $extra_arg
Sortie :
@param string $hook_name The name of the action hook. @return int The number of times the action hook has been fired.
// Modifier la valeur avec le filtre 'wpdocs_filter'
add_filter('wpdocs_filter', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($value) {
// Modifier la valeur
return $value;
}
Chargement des actualités...