is_plugin_page()WP 1.5.0

Deprecated from version 3.1.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Determines whether the current admin page is generated by a plugin.

Use global $plugin_page and/or get_plugin_page_hookname() hooks.

For more information on this and similar theme functions, check out the Conditional Tags article in the Theme Developer Handbook.

No Hooks.

Return

true|false.

Usage

is_plugin_page();

Notes

  • Global. $plugin_page

Changelog

Since 1.5.0 Introduced.
Deprecated since 3.1.0

is_plugin_page() code WP 6.5.2

function is_plugin_page() {
	_deprecated_function( __FUNCTION__, '3.1.0' );

	global $plugin_page;

	if ( isset($plugin_page) )
		return true;

	return false;
}