wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_schedule_delete_old_privacy_export_files › WordPress Function

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

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