upload_size_limit

upload_size_limit

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('upload_size_limit') is found 1 times:

  • /wp-includes/media.php line 4151
    	 * @param int $size    Max upload size limit in bytes.
    	 * @param int $u_bytes Maximum upload filesize in bytes.
    	 * @param int $p_bytes Maximum size of POST data in bytes.
    	 */
    	return apply_filters( 'upload_size_limit', min( $u_bytes, $p_bytes ), $u_bytes, $p_bytes );
    }
    
    /**
     * Returns a WP_Image_Editor instance and loads file into it.
     *
     * @since 3.5.0