Returns the available columns for the list table.
Description
See also
Return
(array) Columns as <code>$slug => $label</code> pairs.
Source
File: src/db-objects/submissions/submissions-list-table.php
protected function build_columns() { $columns = parent::build_columns(); $columns['id'] = _x( 'ID', 'submission column label', 'torro-forms' ); $columns['status'] = _x( 'Status', 'submission column label', 'torro-forms' ); $columns['form_id'] = _x( 'Form', 'submission column label', 'torro-forms' ); $columns['user_id'] = _x( 'User', 'submission column label', 'torro-forms' ); $columns['timestamp'] = _x( 'Date', 'submission column label', 'torro-forms' ); /** * Filters the payment columns. * * @since 1.0.0 * * @param array $columns Associative array of `$column_slug => $column_title` pairs. */ return apply_filters( "{$this->manager->get_prefix()}submission_admin_columns", $columns ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |