wp_privacy_personal_data_cleanup_requests()
Fires the personal data cleanup requests handler during cron.
Loads the admin privacy tools file if needed (e.g. during cron, where wp-admin/includes/privacy-tools.php is not loaded automatically).
Хуков нет.
Возвращает
null. Ничего (null).
Использование
wp_privacy_personal_data_cleanup_requests(): void;
Список изменений
| С версии 7.1.0 | Введена. |
Код wp_privacy_personal_data_cleanup_requests() wp privacy personal data cleanup requests WP 7.1.2
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();
}