(hook)
Fires scheduled events.
Использование
add_action( '(hook)', 'wp_kama_hook_action' ); /** * Function for `(hook)` action-hook. * * @param string $hook Name of the hook that was scheduled to be fired. * * @return void */ function wp_kama_hook_action( $hook ){ // action... }
- $hook(строка)
- Name of the hook that was scheduled to be fired.
Список изменений
С версии 2.1.0 | Введена. |
Где вызывается хук
В файле: /wp-cron.php
wp-cron.php 191
do_action_ref_array( $hook, $v['args'] );