WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about pre_wp_filesize

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/functions.php apply_filters 3498 /**
* Filters the result of wp_filesize before the PHP function is run.
*
* @since 6.0.0
*
* @param null|int $size The unfiltered value. Returning an int from the callback bypasses the filesize call.
* @param string $path Path to the file.
*/

Hook Parameters

Parameter Type Name Description
null|int $size The unfiltered value. Returning an int from the callback bypasses the filesize call.
string $path Path to the file.