Schedules a WP-Cron job to clean up personal data requests.
Description
See also
Source
function wp_schedule_personal_data_cleanup_requests(): void {
if ( wp_installing() ) {
return;
}
if ( ! wp_next_scheduled( 'wp_privacy_personal_data_cleanup_requests' ) ) {
wp_schedule_event( time(), 'daily', 'wp_privacy_personal_data_cleanup_requests' );
}
}
Changelog
| Version | Description |
|---|---|
| 7.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.