self::MODERNIZATION_FILTER, true

self::MODERNIZATION_FILTER, true

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('self::MODERNIZATION_FILTER, true') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-videopress/src/class-admin-ui.php line 527
    	 */
    	public static function is_modernized() {
    		return (bool) apply_filters( self::MODERNIZATION_FILTER, true );
    	}
    
    	/**
    	 * Returns true when the current request targets the VideoPress admin page.
    	 *
    	 * Used to scope wp-build loading to the one page that needs it. The
    	 * `$_GET['page']` value is populated by wp-admin/admin.php before any of
    	 * our hooks fire, so this check is reliable from `init()` onwards.