WordPress at a glance
function is not described

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.


true|false. Null. Nothing.




  • Global. $plugin_page


Since 1.5.0 Introduced.
Deprecated 3.1.0

Code of is_plugin_page() WP 5.7

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

	global $plugin_page;

	if ( isset($plugin_page) )
		return true;

	return false;