Automattic\WooCommerce\Internal\Admin\Logging\FileV2
SearchListTable::column_file_id
Render the file_id column.
Method of the class: SearchListTable{}
No Hooks.
Returns
String.
Usage
$SearchListTable = new SearchListTable(); $SearchListTable->column_file_id( $item ): string;
- $item(array) (required)
- The current search result being rendered.
SearchListTable::column_file_id() SearchListTable::column file id code WC 10.3.3
public function column_file_id( array $item ): string {
// Add a word break after the rotation number, if it exists.
$file_id = preg_replace( '/\.([0-9])+\-/', '.\1<wbr>-', $item['file_id'] );
return wp_kses( $file_id, array( 'wbr' => array() ) );
}