install_plugins_table_api_args_{$tab}
过滤钩子
apply_filters( "install_plugins_table_api_args_{$tab}", $args )
- 参数
-
-
(array|false)
$args
Plugin install API arguments.- Required: 是
-
(array|false)
- 定义位置
-
-
wp-admin/includes/class-wp-plugin-install-list-table.php
, line 234
-
wp-admin/includes/class-wp-plugin-install-list-table.php
- 引入
- 3.7.0
- 弃用
- –
Filters API request arguments for each Add Plugins screen tab.
The dynamic portion of the hook name, $tab
, refers to the plugin install tabs.
Possible hook names include:
install_plugins_table_api_args_favorites
install_plugins_table_api_args_featured
install_plugins_table_api_args_popular
install_plugins_table_api_args_recommended
install_plugins_table_api_args_upload
install_plugins_table_api_args_search
install_plugins_table_api_args_beta
$args = apply_filters( "install_plugins_table_api_args_{$tab}", $args );
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。