restrict_manage_sites WordPress Action Hook
The restrict_manage_sites hook allows you to restrict which sites are shown in the WordPress admin area. This can be useful if you only want to show certain sites to certain users.
do_action( 'restrict_manage_sites', string $which ) #
Fires before the Filter button on the MS sites list table.
Parameters
- $which
(string)The location of the extra table nav markup: 'top' or 'bottom'.
Source
Changelog
Version | Description |
---|---|
5.3.0 | Introduced. |