wp_maybe_auto_update
Fires during wp_cron, starting the auto-update process.
Использование
add_action( 'wp_maybe_auto_update', 'wp_kama_maybe_auto_update_action' );
/**
* Function for `wp_maybe_auto_update` action-hook.
*
* @return void
*/
function wp_kama_maybe_auto_update_action(){
// action...
}Список изменений
| С версии 3.9.0 | Введена. |
Где вызывается хук
wp-includes/update.php 337
do_action( 'wp_maybe_auto_update' );
Где используется хук в WordPress
wp-includes/update.php 1208
add_action( 'wp_maybe_auto_update', 'wp_maybe_auto_update' );