WPSEO_Taxonomy_Fields_Presenter::html()publicYoast 1.0

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() Yoast 22.4

public function html( array $fields ) {
	$content = '';
	foreach ( $fields as $field_name => $field_configuration ) {
		$content .= $this->form_row( 'wpseo_' . $field_name, $field_configuration );
	}
	return $content;
}