calypso_use_modernized_reading_settings
calypso_use_modernized_reading_settings
Appears in: jetpack.11.8, jetpack.11.8.4, jetpack.11.9, jetpack.11.9.1, jetpack.12.0, jetpack.12.1, jetpack.12.1.1, jetpack.12.2.1, jetpack.12.3
Hook Type: filter
Displaying hooks found in version: jetpack.12.3apply_filters('calypso_use_modernized_reading_settings') is found 2 times:
- /modules/masterbar/admin-menu/class-admin-menu.php line 387
* @module masterbar * * @param bool false Should the modernized Reading Settings be enabled? Default to false. */ apply_filters( 'calypso_use_modernized_reading_settings', false ) && self::DEFAULT_VIEW === $this->get_preferred_view( 'options-reading.php' ) ) { $submenus_to_update['options-reading.php'] = 'https://wordpress.com/settings/reading/' . $this->domain; } if ( self::DEFAULT_VIEW === $this->get_preferred_view( 'options-discussion.php' ) ) {
- /modules/masterbar/admin-menu/menu-mappings.php line 28
); if ( /** This filter is documented in modules/masterbar/admin-menu/class-admin-menu.php */ apply_filters( 'calypso_use_modernized_reading_settings', false ) ) { $common_mappings['options-reading.php'] = 'https://wordpress.com/settings/reading/'; } if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) { // WPCOM Specific mappings.