Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: automatic_updater_disabled

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
46            * There are more fine-grained filters and controls for selective disabling.
47            * This filter parallels the AUTOMATIC_UPDATER_DISABLED constant in name.
48            *
49            * This also disables update notification emails. That may change in the future.
50            *
51            * @since 3.7.0
52            *
53            * @param bool $disabled Whether the updater should be disabled.
54            */
55           return apply_filters( 'automatic_updater_disabled', $disabled );
56      }
58      /**
59       * Check for version control checkouts.
60       *
61       * Checks for Subversion, Git, Mercurial, and Bazaar. It recursively looks up the
62       * filesystem to the top of the drive, erring on the side of detecting a VCS
63       * checkout somewhere.
64       *