enable_update_services_configuration
Filters whether to enable the Update Services section in the Writing settings screen.
Usage
add_filter( 'enable_update_services_configuration', 'wp_kama_enable_update_services_configuration_filter' ); /** * Function for `enable_update_services_configuration` filter-hook. * * @param bool $enable Whether to enable the Update Services settings area. * * @return bool */ function wp_kama_enable_update_services_configuration_filter( $enable ){ // filter... return $enable; }
- $enable(true|false)
- Whether to enable the Update Services settings area.
Default: true
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
In file: /wp-admin/options-writing.php
enable_update_services_configuration
wp-admin/options-writing.php 217
if ( apply_filters( 'enable_update_services_configuration', true ) ) {
wp-admin/options-writing.php 41
if ( apply_filters( 'enable_update_services_configuration', true ) ) {
Where the hook is used in WordPress
wp-includes/ms-default-filters.php 110
add_filter( 'enable_update_services_configuration', '__return_false' );