WordPress开发者和主题制作者的搜索引擎



wp_schedule_delete_old_privacy_export_files ›

Since4.9.6
已弃用n/a
wp_schedule_delete_old_privacy_export_files ( 没有参数 )
定义在:
文档:

Schedule a `WP_Cron` job to delete expired export files.



源码

function wp_schedule_delete_old_privacy_export_files() {
	if ( wp_installing() ) {
		return;
	}

	if ( ! wp_next_scheduled( 'wp_privacy_delete_old_export_files' ) ) {
		wp_schedule_event( time(), 'hourly', 'wp_privacy_delete_old_export_files' );
	}
}