WP_Users_List_Table::current_action
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(); $WP_Users_List_Table->current_action();
Список изменений
| С версии 3.1.0 | Введена. |
Код WP_Users_List_Table::current_action() WP Users List Table::current action WP 6.9
public function current_action() {
if ( isset( $_REQUEST['changeit'] ) ) {
return 'promote';
}
return parent::current_action();
}