A WordPress-centric search engine for devs and theme authors



_wp_privacy_hook_requests_page ›

Since4.9.6
Deprecatedn/a
_wp_privacy_hook_requests_page ( No parameters )
Access:
  • private
Defined at:
Codex:

Add requests pages.



Source

function _wp_privacy_hook_requests_page() {
	add_submenu_page( 'tools.php', __( 'Export Personal Data' ), __( 'Export Personal Data' ), 'manage_options', 'export_personal_data', '_wp_personal_data_export_page' );
	add_submenu_page( 'tools.php', __( 'Remove Personal Data' ), __( 'Remove Personal Data' ), 'manage_options', 'remove_personal_data', '_wp_personal_data_removal_page' );
}