self::MODERNIZATION_FILTER, false

self::MODERNIZATION_FILTER, false

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('self::MODERNIZATION_FILTER, false') is found 3 times:

  • /jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup.php line 1012
    	 *
    	 * @return bool
    	 */
    	private static function is_modernized() {
    		return (bool) apply_filters( self::MODERNIZATION_FILTER, false );
    	}
    
    	/**
    	 * Returns true when the current request targets the Backup admin page.
    	 *
    	 * Used to scope wp-build loading to the one page that needs it. The
    
  • /jetpack_vendor/automattic/jetpack-publicize/src/class-social-admin-page.php line 266
    	 *
    	 * @return bool
    	 */
    	private static function is_modernized() {
    		return (bool) apply_filters( self::MODERNIZATION_FILTER, false );
    	}
    
    	/**
    	 * Returns true when the wp-build dashboard is the page that will actually render.
    	 *
    	 * This is the single source of truth shared by `add_menu()` (which picks the
    
  • /jetpack_vendor/automattic/jetpack-scan-page/src/class-jetpack-scan.php line 81
    		if ( did_action( 'jetpack_scan_page_initialized' ) ) {
    			return;
    		}
    
    		if ( ! (bool) apply_filters( self::MODERNIZATION_FILTER, false ) ) {
    			return;
    		}
    
    		self::load_wp_build();
    		self::fix_boot_import_map_ordering();
    		self::bridge_wp_build_enqueue();