wp_privacy_personal_data_cleanup_requests()

In this article

Fires the personal data cleanup requests handler during cron.

Description

Loads the admin privacy tools file if needed (e.g. during cron, where wp-admin/includes/privacy-tools.php is not loaded automatically).

Source

function wp_privacy_personal_data_cleanup_requests(): void {
	if ( ! function_exists( '_wp_personal_data_cleanup_requests' ) ) {
		require_once ABSPATH . 'wp-admin/includes/privacy-tools.php';
	}
	_wp_personal_data_cleanup_requests();
}

Changelog

VersionDescription
7.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.