A WordPress-centric search engine for devs and theme authors



wp_schedule_delete_old_privacy_export_files ›

Since4.9.6
Deprecatedn/a
wp_schedule_delete_old_privacy_export_files ( No parameters )
Defined at:
Codex:

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



Source

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' );
	}
}