wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_privacy_personal_data_cleanup_requests › WordPress Function

Since7.1.0
已弃用n/a
› 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).


源码

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