函数原型
is_plugin_page(): bool
函数描述
Determines whether the current admin page is generated by a plugin.
是否弃用
Warning: This function has been deprecated.
函数参数
无
函数返回值
bool
函数位置
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;
}
源码链接
变更日志
| Version | Description |
|---|---|
| 3.1.0 | This function has been deprecated. |
| 1.5.0 | Introduced. |

