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.16.0

apply_filters('jetpack_wp_admin_subscriber_management_enabled') is found 2 times:

  • /jetpack_vendor/automattic/jetpack-newsletter/src/class-settings.php line 289
    		$is_wpcom               = $host->is_wpcom_platform();
    		$is_block_theme         = wp_is_block_theme();
    		$setup_payment_plan_url = ( $is_wpcom ? 'https://wordpress.com/earn/payments/' : 'https://cloud.jetpack.com/monetize/payments/' ) . $site_suffix;
    
    		$wp_admin_subscriber_management_enabled = apply_filters( 'jetpack_wp_admin_subscriber_management_enabled', self::is_modernization_rollout_enabled() );
    
    		// Populate blog_id which is needed for API calls on Simple sites.
    		$data['site']['wpcom']['blog_id'] = $blog_id;
    
    		// Add newsletter-specific data.
    		// Note: Common data like admin_url, rest_nonce, rest_root, title, is_wpcom_platform,
    
  • /modules/subscriptions.php line 1104
    		 * @param bool If the new dashboard is enabled. Defaults to the staged-rollout
    		 *             cohort: true for Automatticians and the percentage cohort
    		 *             (currently 0%), false elsewhere.
    		 */
    		if ( apply_filters( 'jetpack_wp_admin_subscriber_management_enabled', $modernization_rollout_default ) ) {
    			return;
    		}
    
    		$blog_id = Connection_Manager::get_site_id( true );
    
    		$link = Redirect::get_url(