ACF_Admin_Internal_Post_Type_List::admin_table_columns_html
Renders the admin table column HTML
Метод класса: ACF_Admin_Internal_Post_Type_List{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ACF_Admin_Internal_Post_Type_List = new ACF_Admin_Internal_Post_Type_List(); $ACF_Admin_Internal_Post_Type_List->admin_table_columns_html( $column_name, $post_id );
- $column_name(строка) (обязательный)
- The name of the column to display.
- $post_id(int) (обязательный)
- The current post ID.
Список изменений
| С версии 5.9.0 | Введена. |
Код ACF_Admin_Internal_Post_Type_List::admin_table_columns_html() ACF Admin Internal Post Type List::admin table columns html ACF 6.4.2
public function admin_table_columns_html( $column_name, $post_id ) {
$post = acf_get_internal_post_type( $post_id, $this->post_type );
if ( $post ) {
$this->render_admin_table_column( $column_name, $post );
}
}