pre_recurse_dirsize

pre_recurse_dirsize

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('pre_recurse_dirsize') is found 1 times:

  • /wp-includes/functions.php line 8734
    8730
    8731
    8732
    8733
    8734
    8735
    8736
    8737
    8738
    8739
    8740
    *                                                 or array of paths.
     * @param int                  $max_execution_time Maximum time to run before giving up. In seconds.
     * @param array                $directory_cache    Array of cached directory paths.
     */
    $size = apply_filters( 'pre_recurse_dirsize', false, $directory, $exclude, $max_execution_time, $directory_cache );
     
    if ( false === $size ) {
        $size = 0;
     
        $handle = opendir( $directory );
        if ( $handle ) {