pre_recurse_dirsize

pre_recurse_dirsize

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('pre_recurse_dirsize') is found 1 times:

  • /wp-includes/functions.php line 8646
    	 *                                                 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 ) {