WC_Admin_List_Table::render_columns
Render individual columns.
Method of the class: WC_Admin_List_Table{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Admin_List_Table = new WC_Admin_List_Table(); $WC_Admin_List_Table->render_columns( $column, $post_id );
- $column(string) (required)
- Column ID to render.
- $post_id(int) (required)
- Post ID being shown.
WC_Admin_List_Table::render_columns() WC Admin List Table::render columns code WC 10.8.1
public function render_columns( $column, $post_id ) {
$this->prepare_row_data( $post_id );
if ( ! $this->object ) {
return;
}
if ( is_callable( array( $this, 'render_' . $column . '_column' ) ) ) {
$this->{"render_{$column}_column"}();
}
}