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.


Top ↑

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 );
}

Top ↑

Changelog Changelog

Changelog
Version Description
1.12 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.