jetpack_subscriptions_modal_enabled

jetpack_subscriptions_modal_enabled

Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.12.8.1

apply_filters('jetpack_subscriptions_modal_enabled') is found 2 times:

  • /_inc/lib/admin-pages/class-jetpack-redux-state-helper.php line 242
    			'isOdysseyStatsEnabled'       => Stats_Options::get_option( 'enable_odyssey_stats' ),
    			'shouldInitializeBlaze'       => Blaze::should_initialize(),
    			'isBlazeDashboardEnabled'     => Blaze::is_dashboard_enabled(),
    			/** This filter is documented in plugins/jetpack/modules/subscriptions/subscribe-module/class-jetpack-subscribe-module.php */
    			'isSubscriptionModalEnabled'  => apply_filters( 'jetpack_subscriptions_modal_enabled', false ),
    			'socialInitialState'          => self::get_publicize_initial_state(),
    			'gutenbergInitialState'       => self::get_gutenberg_initial_state(),
    		);
    	}
    
    	/**
    
  • /modules/subscriptions.php line 364
     
    		/** Enable Subscribe Modal */
    
    		/** This filter is documented in plugins/jetpack/modules/subscriptions/subscribe-module/class-jetpack-subscribe-module.php */
    		if ( apply_filters( 'jetpack_subscriptions_modal_enabled', false ) ) {
    			add_settings_field(
    				'jetpack_subscriptions_comment_subscribe',
    				__( 'Enable Subscribe Modal', 'jetpack' ),
    				array( $this, 'subscribe_modal_setting' ),
    				'discussion',
    				'jetpack_subscriptions'