wp_filesize

wp_filesize

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('wp_filesize') is found 1 times:

  • /wp-includes/functions.php line 3621
    3617
    3618
    3619
    3620
    3621
    3622
    3623
    3624
    3625
    3626
    3627
         *
         * @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