Skip to content

Commit 2f2a4a4

Browse files
Update src/wp-admin/includes/plugin.php
Co-authored-by: Noruzzaman <[email protected]>
1 parent 23fd2b8 commit 2f2a4a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wp-admin/includes/plugin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2138,6 +2138,8 @@ function get_plugin_page_hook( $plugin_page, $parent_page ) {
21382138
* @global string $admin_page_parent The parent slug of the current admin page.
21392139
* @global string $plugin_page The plugin page slug being loaded.
21402140
* @global array $_registered_pages Array of all registered admin page hooks.
2141+
*
2142+
* @return bool True if the admin page exists, false otherwise.
21412143
*/
21422144
function admin_page_exists() {
21432145
global $admin_page_parent, $plugin_page, $_registered_pages;

0 commit comments

Comments
 (0)