Automattic\WooCommerce\Internal\Admin\Logging\FileV2
FileListTable::column_created
Render the created column.
Method of the class: FileListTable{}
No Hooks.
Returns
String.
Usage
$FileListTable = new FileListTable(); $FileListTable->column_created( $item ): string;
- $item(File) (required)
- The current log file being rendered.
FileListTable::column_created() FileListTable::column created code WC 10.7.0
public function column_created( $item ): string {
$timestamp = $item->get_created_timestamp();
return gmdate( 'Y-m-d', $timestamp );
}