2024年10月18日 建站教程
wordpress的移动文件夹move_dir()函数怎么用,下面web建站小编给大家详细介绍一下!
函数介绍:
move_dir( string $from, string $to, bool $overwrite = false ): true|WP_Error
具体示列:
if (!WP_Filesystem()) {
exit;
}
$td = get_template_directory();
move_dir($td . '/from', $td . '/to', true);
本文链接:http://so.lmcjl.com/news/15665/