WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
2525 | * There are more fine-grained filters and controls for selective disabling. |
2526 | * This filter parallels the AUTOMATIC_UPDATER_DISABLED constant in name. |
2527 | * |
2528 | * This also disables update notification emails. That may change in the future. |
2529 | * |
2530 | * @since 3.7.0 |
2531 | * |
2532 | * @param bool $disabled Whether the updater should be disabled. |
2533 | */ |
2534 | return apply_filters( 'automatic_updater_disabled', $disabled ); |
2535 | } |
2536 |
|
2537 | /** |
2538 | * Check for version control checkouts. |
2539 | * |
2540 | * Checks for Subversion, Git, Mercurial, and Bazaar. It recursively looks up the |
2541 | * filesystem to the top of the drive, erring on the side of detecting a VCS |
2542 | * checkout somewhere. |
2543 | * |