WP_Users_List_Table::current_action()publicWP 3.1.0

Captures the bulk action required, and return it.

Overridden from the base class implementation to capture the role change drop-down.

Метод класса: WP_Users_List_Table{}

Хуков нет.


Строку. The bulk action required.


$WP_Users_List_Table = new WP_Users_List_Table();

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

С версии 3.1.0 Введена.

Код WP_Users_List_Table::current_action() WP 6.5.3

public function current_action() {
	if ( isset( $_REQUEST['changeit'] ) ) {
		return 'promote';

	return parent::current_action();