restrict_manage_sites

动作钩子


do_action( 'restrict_manage_sites', $which )
参数
  • (string)
    $which
    The location of the extra table nav markup: ‘top’ or ‘bottom’.
    Required:
定义位置
  • wp-admin/includes/class-wp-ms-sites-list-table.php
    , line 329
引入
5.3.0
弃用

Fires before the Filter button on the MS sites list table.

do_action( 'restrict_manage_sites', $which );