admin_memory_limit, $wp_max_limit

admin_memory_limit, $wp_max_limit

Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.5.0.0.1

apply_filters('admin_memory_limit, $wp_max_limit') is found 1 times:

  • /vendor/woocommerce/action-scheduler/classes/ActionScheduler_Compatibility.php line 61
    		}
    
    		$wp_max_limit       = WP_MAX_MEMORY_LIMIT;
    		$wp_max_limit_int   = self::convert_hr_to_bytes( $wp_max_limit );
    		$filtered_limit     = apply_filters( 'admin_memory_limit', $wp_max_limit );
    		$filtered_limit_int = self::convert_hr_to_bytes( $filtered_limit );
    
    		// phpcs:disable WordPress.PHP.IniSet.memory_limit_Blacklisted
    		// phpcs:disable WordPress.PHP.NoSilencedErrors.Discouraged
    
    		if ( -1 === $filtered_limit_int || ( $filtered_limit_int > $wp_max_limit_int && $filtered_limit_int > $current_limit_int ) ) {