WP_Privacy_Requests_Table::get_columns()
Gets columns to show in the list table.
Метод класса: WP_Privacy_Requests_Table{}
Хуков нет.
Возвращает
Строку[]
. Array of column titles keyed by their column name.
Использование
$WP_Privacy_Requests_Table = new WP_Privacy_Requests_Table(); $WP_Privacy_Requests_Table->get_columns();
Список изменений
С версии 4.9.6 | Введена. |
Код WP_Privacy_Requests_Table::get_columns() WP Privacy Requests Table::get columns WP 6.4.3
public function get_columns() { $columns = array( 'cb' => '<input type="checkbox" />', 'email' => __( 'Requester' ), 'status' => __( 'Status' ), 'created_timestamp' => __( 'Requested' ), 'next_steps' => __( 'Next steps' ), ); return $columns; }