WC_Admin_List_Table::render_columns()publicWC 1.0

Render individual columns.

Method of the class: WC_Admin_List_Table{}

No Hooks.

Return

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() code WC 8.6.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"}();
	}
}