Uses
| Uses | Description |
|---|---|
| wp-includes/link-template.php: admin_url() | Retrieves the URL to the admin area for the current site. |
Normalize the admin URL to the current page (by request_type).
(string) URL to the current admin page.
File: wp-admin/includes/class-wp-privacy-requests-table.php
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' );
} | Version | Description |
|---|---|
| 5.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_privacy_requests_table/get_admin_url