Renders a custom list table column if conditions are met.
Description
See also
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
Version | Description |
---|---|
1.0.0 | Introduced. |