Form_List_Page_Handler::maybe_render_custom_table_column( string $column_name, int $post_id )

Renders a custom list table column if conditions are met.

Description

Parameters

$column_name

(string) (Required) Name of the column to render.

$post_id

(int) (Required) Current post ID.

Source

File: src/db-objects/forms/form-list-page-handler.php

	public function maybe_render_custom_table_column( $column_name, $post_id ) {
		$form = $this->form_manager->get( $post_id );
		if ( ! $form ) {
			return;
		}

		$this->render_custom_list_table_column( $column_name, $form );
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.