Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_maybe_auto_update

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
247      }
248
249      // Trigger background updates if running non-interactively, and we weren't called from the update handler.
250      if ( $doing_cron && ! doing_action( 'wp_maybe_auto_update' ) ) {
251           /**
252            * Fires during wp_cron, starting the auto-update process.
253            *
254            * @since 3.9.0
255            */
256           do_action( 'wp_maybe_auto_update' );
257      }
258 }
259
260 /**
261  * Checks for available updates to plugins based on the latest versions hosted on WordPress.org.
262  *
263  * Despite its name this function does not actually perform any updates, it only checks for available updates.
264  *
265  * A list of all plugins installed is sent to WP, along with the site locale.