Warning: This function has been deprecated. 3.1.0 instead.

is_plugin_page()

Is the current admin page generated by a plugin?


Description Description

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


Return Return

(bool)


Top ↑

Source Source

File: wp-includes/deprecated.php

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

	global $plugin_page;

	if ( isset($plugin_page) )
		return true;

	return false;
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.1.0 This function has been deprecated. 3.1.0 instead.
1.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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