摘要:
网上看到的,暂时放在这里。/***@seewp_handle_upload()*/functionexample_wp_handle_upload_prefilter($files){$files['name']=md5($files['name']).$_SERVER['REQUEST_TIME'].mt_rand(0,10000);$files['name'].='.'.pathinfo($files['name'],PATHINFO_EXTENSION);return$files;}add_f 阅读全文