WP_Privacy_Requests_Table::get_admin_url() – Normalize the admin URL to the current page (by request_type).
You appear to be a bot. Output may be restricted
Description
Normalize the admin URL to the current page (by request_type).
Usage
$string = WP_Privacy_Requests_Table::get_admin_url();
Parameters
Returns
string URL to the current admin page.
Source
File name: wordpress/wp-admin/includes/class-wp-privacy-requests-table.php
Lines:
1 to 9 of 9
protected function get_admin_url() { $pagenow = str_replace( '_', '-', $this->request_type ); if ( 'remove-personal-data' === $pagenow ) { $pagenow = 'erase-personal-data'; } return admin_url( $pagenow . '.php' ); }