wp_filesize

wp_filesize

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.0.1

apply_filters('wp_filesize') is found 1 times:

  • /wp-includes/functions.php line 3516
    	 *
    	 * @param int    $size The result of PHP filesize on the file.
    	 * @param string $path Path to the file.
    	 */
    	return (int) apply_filters( 'wp_filesize', $size, $path );
    }
    
    /**
     * Retrieve list of allowed mime types and file extensions.
     *
     * @since 2.8.6