self::FEATURE_FILTER, false

self::FEATURE_FILTER, false

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('self::FEATURE_FILTER, false') is found 2 times:

  • /jetpack_vendor/automattic/jetpack-seo/src/class-initializer.php line 150
    		}
    		self::$initialized = true;
    
    		// Gate the entire SEO surface behind the feature flag.
    		if ( ! (bool) apply_filters( self::FEATURE_FILTER, false ) ) {
    			return;
    		}
    
    		// The opt-in endpoint must be reachable even before the surface is visible, so
    		// existing self-hosted installs can switch to the new experience from the legacy
    		// Traffic page or My Jetpack (JETPACK-1700). Registered ahead of the cohort gate.
    
  • /jetpack_vendor/automattic/jetpack-seo/src/class-initializer.php line 529
    	 *
    	 * @return bool
    	 */
    	public static function is_optin_available() {
    		return (bool) apply_filters( self::FEATURE_FILTER, false ) && ! self::is_seo_surface_visible();
    	}
    
    	/**
    	 * Build the aggregated Overview state the dashboard renders.
    	 *
    	 * @return array