WC_Admin_List_Table::render_columns( string $column, int $post_id )

Render individual columns.


Description Description


Parameters Parameters

$column

(Required) Column ID to render.

$post_id

(Required) Post ID being shown.


Top ↑

Source Source

File: includes/admin/list-tables/abstract-class-wc-admin-list-table.php

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


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.