_wp_privacy_action_request_types()
Gets all personal data request types.
Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.
No Hooks.
Returns
String[]. List of core privacy action types.
Usage
_wp_privacy_action_request_types();
Changelog
| Since 4.9.6 | Introduced. |
_wp_privacy_action_request_types() wp privacy action request types code WP 7.0
function _wp_privacy_action_request_types() {
return array(
'export_personal_data',
'remove_personal_data',
);
}