is_plugin_page()

最后更新于:2021-11-27 09:58:24

is_plugin_page()

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

响应

(bool)

源文件

文件: gc-includes/deprecated.php

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

	global $plugin_page;

	if ( isset($plugin_page) )
		return true;

	return false;
}