We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23fd2b8 commit 2f2a4a4Copy full SHA for 2f2a4a4
src/wp-admin/includes/plugin.php
@@ -2138,6 +2138,8 @@ function get_plugin_page_hook( $plugin_page, $parent_page ) {
2138
* @global string $admin_page_parent The parent slug of the current admin page.
2139
* @global string $plugin_page The plugin page slug being loaded.
2140
* @global array $_registered_pages Array of all registered admin page hooks.
2141
+ *
2142
+ * @return bool True if the admin page exists, false otherwise.
2143
*/
2144
function admin_page_exists() {
2145
global $admin_page_parent, $plugin_page, $_registered_pages;
0 commit comments