WC_Admin_List_Table::render_columns()publicWC 1.0

Render individual columns.

{} It's a method of the class: WC_Admin_List_Table{}

No Hooks.

Return

null. Nothing.

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.

Code of WC_Admin_List_Table::render_columns() WC 6.7.0

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"}();
	}
}