wp_maybe_auto_update
The WordPress Core wp maybe auto update hook.
Description
do_action( 'wp_maybe_auto_update' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'wp_maybe_auto_update' );
- The following example is for adding a hook callback.
- // define the wp_maybe_auto_update callback
- function action_wp_maybe_auto_update( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'wp_maybe_auto_update', 'action_wp_maybe_auto_update', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'wp_maybe_auto_update', 'action_wp_maybe_auto_update', 10, 0 );
Defined (2)
The action is defined in the following location(s).
- /wp-includes/update.php
- do_action( 'wp_maybe_auto_update' );
- add_action( 'wp_maybe_auto_update', 'wp_maybe_auto_update' );