WordPress开发者和主题制作者的搜索引擎



pre_current_active_plugins ›

Since3.0.0
已弃用n/a
do_action( 'pre_current_active_plugins', $plugins['all'] )
参数:
  • (array[]) $plugins_all An array of arrays containing information on all installed plugins.
    Required: Yes
定义在:
文档:

Fires before the plugins list table is rendered.

This hook also fires before the plugins list table is rendered in the Network Admin.

Please note: The 'active' portion of the hook name does not refer to whether the current view is for active plugins, but rather all plugins actively-installed.





源码

do_action( 'pre_current_active_plugins', $plugins['all'] );