wp_filesize

wp_filesize

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_filesize') is found 1 times:

  • /wp-includes/functions.php line 3621
    	 *
    	 * @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 );
    }
    
    /**
     * Retrieves the list of allowed mime types and file extensions.
     *
     * @since 2.8.6