(hook)
Fires scheduled events.
Usage
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(string)
- Name of the hook that was scheduled to be fired.
Changelog
| Since 2.1.0 | Introduced. |
Where the hook is called
In file: /wp-cron.php
wp-cron.php 191
do_action_ref_array( $hook, $v['args'] );