You appear to be a bot. Output may be restricted
Description
Usage
WP_UnitTestCase::delete_folders( $path );
Parameters
- $path
- ( mixed ) required –
Returns
voidSource
File name: oik-batch/tests/testcase.phpLines:
1 to 12 of 12
function delete_folders( $path ) { $this->matched_dirs = array(); if ( ! is_dir( $path ) ) { return; } $this->scandir( $path ); foreach ( array_reverse( $this->matched_dirs ) as $dir ) { rmdir( $dir ); } rmdir( $path ); }View on GitHub