Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
pum_is_all_popups_page()
Determines whether the current admin page is the All Popups page.
Description Description
Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
Return Return
(bool) True if current page is All Popups page.
Source Source
File: includes/functions/admin/conditionals.php
function pum_is_all_popups_page() {
$screen = get_current_screen();
$tests = array(
pum_is_admin_page(),
'edit-popup' === $screen->id,
pum_typenow() === 'popup',
);
return ! in_array( false, $tests, true );
}
Expand full source code Collapse full source code View on Trac
Changelog Changelog
| Version | Description |
|---|---|
| 1.12 | Introduced. |