WP_Privacy_Requests_Table::get_columns()
Gets columns to show in the list table.
Method of the class: WP_Privacy_Requests_Table{}
No Hooks.
Return
String[]
. Array of column titles keyed by their column name.
Usage
$WP_Privacy_Requests_Table = new WP_Privacy_Requests_Table(); $WP_Privacy_Requests_Table->get_columns();
Changelog
Since 4.9.6 | Introduced. |
WP_Privacy_Requests_Table::get_columns() WP Privacy Requests Table::get columns code WP 6.7.1
public function get_columns() { $columns = array( 'cb' => '<input type="checkbox" />', 'email' => __( 'Requester' ), 'status' => __( 'Status' ), 'created_timestamp' => __( 'Requested' ), 'next_steps' => __( 'Next steps' ), ); return $columns; }