jetpack_block_editor_enable_upgrade_nudge, false
jetpack_block_editor_enable_upgrade_nudge, false
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('jetpack_block_editor_enable_upgrade_nudge, false') is found 2 times:
- /class.jetpack-gutenberg.php line 310
* @since 7.7.0 * * @param boolean */ ! apply_filters( 'jetpack_block_editor_enable_upgrade_nudge', false ) /** This filter is documented in _inc/lib/admin-pages/class.jetpack-react-page.php */ || ! apply_filters( 'jetpack_show_promotions', true ) ) ) { // The block editor may apply an upgrade nudge if `missing_plan` is the reason. // Add a descriptive suffix to disable behavior but provide informative reason. - /class.jetpack-gutenberg.php line 873
'jetpack' => array( 'is_active' => Jetpack::is_connection_ready(), 'is_current_user_connected' => $is_current_user_connected, /** This filter is documented in class.jetpack-gutenberg.php */ 'enable_upgrade_nudge' => apply_filters( 'jetpack_block_editor_enable_upgrade_nudge', false ), 'is_private_site' => $status->is_private_site(), 'is_coming_soon' => $status->is_coming_soon(), 'is_offline_mode' => $status->is_offline_mode(), 'is_newsletter_feature_enabled' => class_exists( '\Jetpack_Memberships' ), // this is the equivalent of JP initial state siteData.showMyJetpack (class-jetpack-redux-state-helper) // used to determine if we can link to My Jetpack from the block editor