restrict_manage_users хук-событиеWP 3.5.0

Fires just before the closing div containing the bulk role-change controls in the Users list table.

Использование

add_action( 'restrict_manage_users', 'wp_kama_restrict_manage_users_action' );

/**
 * Function for `restrict_manage_users` action-hook.
 * 
 * @param string $which The location of the extra table nav markup: 'top' or 'bottom'.
 *
 * @return void
 */
function wp_kama_restrict_manage_users_action( $which ){

	// action...
}
$which(строка)
The location of the extra table nav markup: 'top' or 'bottom'.

Список изменений

С версии 3.5.0 Введена.
С версии 4.6.0 The $which parameter was added.

Где вызывается хук

WP_Users_List_Table::extra_tablenav()
restrict_manage_users
wp-admin/includes/class-wp-users-list-table.php 330
do_action( 'restrict_manage_users', $which );

Где используется хук в WordPress

Использование не найдено.