首页 WordPress函数大全 get_plugin_page_hook()

get_plugin_page_hook()

2020-05-01 / 2031阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_plugin_page_hook( string $plugin_page, string $parent_page )

Gets the hook attached to the administrative page of a plugin.

描述

参数

$plugin_page

(string)
(Required)
The slug name of the plugin page.

$parent_page

(string)
(Required)
The slug name for the parent menu (or the file name of a standard WordPress admin page).

返回

(string|null) Hook attached to the plugin page, null otherwise.

大家谈论
    我的见解