Uses
Uses | Description |
---|---|
wp-admin/includes/class-wp-privacy-requests-table.php: WP_Privacy_Requests_Table::get_timestamp_as_date() | Convert timestamp for display. |
Default column handler.
(WP_User_Request) (Required) Item being shown.
(string) (Required) Name of column being shown.
(string) Default column output.
File: wp-admin/includes/class-wp-privacy-requests-table.php
public function column_default( $item, $column_name ) { $cell_value = $item->$column_name; if ( in_array( $column_name, array( 'created_timestamp' ), true ) ) { return $this->get_timestamp_as_date( $cell_value ); } return $cell_value; }
Version | Description |
---|---|
4.9.6 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_privacy_requests_table/column_default