restrict_manage_sites хук-событие . WP 5.3.0
Fires before the Filter button on the MS sites list table.
Использование
add_action( 'restrict_manage_sites', 'action_function_name_6369' ); function action_function_name_6369( $which ){ // action... }
- $which(строка)
- The location of the extra table nav markup: 'top' or 'bottom'.
Список изменений
С версии 5.3.0 | Введена. |
Где вызывается хук
restrict_manage_sites
wp-admin/includes/class-wp-ms-sites-list-table.php 334
do_action( 'restrict_manage_sites', $which );