Return stored actions for given params.
$action_class, $status, $hook, $args, $schedule, $group
Sortie :
@param string $status The action's status in the data store. @param string $hook The hook to trigger when this action runs. @param array $args Args to pass to callbacks when the hook is triggered. @param ActionScheduler_Schedule|null $schedule The action's schedule. @param string $group A group to put the action in. @param int $priority The action priority. @return ActionScheduler_Action An instance of the stored action.
// Modifier la valeur avec le filtre 'action_scheduler_stored_action_class'
add_filter('action_scheduler_stored_action_class', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($action_class) {
// Modifier la valeur
return $action_class;
}
Chargement des actualités...