Location: PHPKode > scripts > Role Scoper > role-scoper/uploads_rs.php
<?php

function scoper_get_upload_info() {
	$func = create_function( '$a', 'return false;' );
	add_filter( 'option_uploads_use_yearmonth_folders', $func, 99 );	// prevent determination and creation of date-based upload subfolders
	$upload_info = wp_upload_dir();
	remove_filter( 'option_uploads_use_yearmonth_folders', $func, 99 );
	
	return $upload_info;
}
?>
Return current item: Role Scoper