ACF_Admin_Field_Groups::admin_table_columns_html
Renders the admin table column HTML
Method of the class: ACF_Admin_Field_Groups{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ACF_Admin_Field_Groups = new ACF_Admin_Field_Groups(); $ACF_Admin_Field_Groups->admin_table_columns_html( $column_name, $post_id );
- $column_name(string) (required)
- The name of the column to display.
- $post_id(int) (required)
- The current post ID.
Changelog
| Since 5.9.0 | Introduced. |
ACF_Admin_Field_Groups::admin_table_columns_html() ACF Admin Field Groups::admin table columns html code ACF 6.0.4
public function admin_table_columns_html( $column_name, $post_id ) {
$field_group = acf_get_field_group( $post_id );
if ( $field_group ) {
$this->render_admin_table_column( $column_name, $field_group );
}
}