WPSEO_Taxonomy_Fields_Presenter::html()
Displaying the form fields.
Метод класса: WPSEO_Taxonomy_Fields_Presenter{}
Хуков нет.
Возвращает
Строку
.
Использование
$WPSEO_Taxonomy_Fields_Presenter = new WPSEO_Taxonomy_Fields_Presenter(); $WPSEO_Taxonomy_Fields_Presenter->html( $fields );
- $fields(массив) (обязательный)
- Array with the fields that will be displayed.
Код WPSEO_Taxonomy_Fields_Presenter::html() WPSEO Taxonomy Fields Presenter::html Yoast 24.6
public function html( array $fields ) { $content = ''; foreach ( $fields as $field_name => $field_configuration ) { $content .= $this->form_row( 'wpseo_' . $field_name, $field_configuration ); } return $content; }