jetpack_subscriptions_modal_enabled

jetpack_subscriptions_modal_enabled

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.12.5

apply_filters('jetpack_subscriptions_modal_enabled') is found 4 times:

  • /_inc/lib/admin-pages/class-jetpack-redux-state-helper.php line 243
    			'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(),
    		);
    	}
    
    	/**
    	 * Gets the initial state for the Publicize module.
    
  • /modules/subscriptions/subscribe-modal/class-jetpack-subscribe-modal.php line 250
     * @since 12.4
     *
     * @param bool Defaults to false.
     */
    if ( apply_filters( 'jetpack_subscriptions_modal_enabled', false ) ) {
    	Jetpack_Subscribe_Modal::init();
    }
    
    add_action(
    	'rest_api_switched_to_blog',
    	function () {
    
  • /modules/subscriptions/subscribe-modal/class-jetpack-subscribe-modal.php line 267

    Warning: Undefined array key 271 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 272 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    		 * @since 12.4
    		 *
    		 * @param bool Defaults to false.
    		 */
    		if ( apply_filters( 'jetpack_subscriptions_modal_enabled', false ) ) {
    			Jetpack_Subscribe_Modal::init();
    		}
    	}
    );
    
    
    
  • /modules/subscriptions.php line 361
     
    		/** 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'