Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: allow_dev_auto_core_updates

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
426                          /* translators: %s: Name of the constant used. */
427                          __( 'WordPress development updates are blocked by the %s constant.' ),
428                          '<code>WP_AUTO_UPDATE_CORE</code>'
429                     ),
430                     'severity'    => 'fail',
431                );
432           }
433
434           /** This filter is documented in wp-admin/includes/class-core-upgrader.php */
435           if ( ! apply_filters( 'allow_dev_auto_core_updates', $wp_version ) ) {
436                return array(
437                     'description' => sprintf(
438                          /* translators: %s: Name of the filter used. */
439                          __( 'WordPress development updates are blocked by the %s filter.' ),
440                          '<code>allow_dev_auto_core_updates</code>'
441                     ),
442                     'severity'    => 'fail',
443                );
444           }