Метод | Описание | |
---|---|---|
schedule_async_action ( ) | Run the current action asynchronously. |
Метод | Описание | |
---|---|---|
add_notify_action ( string $hook, callback $callback, integer $priority = 10, integer $accepted_args ) | Add a notification hook. |
protected add_notify_action ( string $hook, callback $callback, integer $priority = 10, integer $accepted_args ) | ||
$hook | string | Name of the action to register for. |
$callback | callback | Callback to register. |
$priority | integer | Priority to register at, larger numbers = later run. |
$accepted_args | integer | Number of arguments to pass through, default 0. |
public schedule_async_action ( ) |