jetpack_wp_admin_subscriber_management_enabled

jetpack_wp_admin_subscriber_management_enabled

Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.15.1.1

apply_filters('jetpack_wp_admin_subscriber_management_enabled') is found 3 times:

  • /_inc/lib/admin-pages/class-jetpack-redux-state-helper.php line 247
    			'isSubscriptionSiteEnabled'            => apply_filters( 'jetpack_subscription_site_enabled', false ),
    			'newsletterDateExample'                => gmdate( get_option( 'date_format' ), time() ),
    			'subscriptionSiteEditSupported'        => $current_theme->is_block_theme(),
    			/* This filter is already documented in jetpack/modules/subscriptions.php */
    			'isWpAdminSubscriberManagementEnabled' => apply_filters( 'jetpack_wp_admin_subscriber_management_enabled', false ),
    		);
    	}
    
    	/**
    	 * Gets array of any Jetpack notices that have been dismissed.
    	 *
    
  • /jetpack_vendor/automattic/jetpack-subscribers-dashboard/src/class-dashboard.php line 67
    	/**
    	 * The page to be added to submenu
    	 */
    	public function add_wp_admin_submenu() {
    		if ( ! apply_filters( 'jetpack_wp_admin_subscriber_management_enabled', false ) || self::$menu_added ) {
    			return;
    		}
    
    		$page_suffix = null;
    		if ( ( new Host() )->is_wpcom_platform() ) {
    			$page_suffix = add_submenu_page( 'users.php', __( 'Subscribers', 'jetpack-subscribers-dashboard' ), __( 'Subscribers', 'jetpack-subscribers-dashboard' ), 'manage_options', 'subscribers', array( $this, 'render' ) );
    
  • /modules/subscriptions.php line 1002
    		 * @since 9.5.0
    		 *
    		 * @param bool If the new dashboard is enabled. Default false.
    		 */
    		if ( apply_filters( 'jetpack_wp_admin_subscriber_management_enabled', false ) ) {
    			return;
    		}
    
    		/*
    		 * Do not display any menu on WoA and WordPress.com Simple sites (unless Classic wp-admin is enabled).
    		 * They already get a menu item under Users via nav-unification.