WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Самая быстрая Тема-конструктор для WordPress
функция не описана

WPSEO_Replacevar_Editor::render() public Yoast 1.0

Renders a div for the react application to mount to, and hidden inputs where the app should store it's value so they will be properly saved when the form is submitted.

Это метод класса: WPSEO_Replacevar_Editor{}

Хуков нет.

Возвращает

null.

Использование

$WPSEO_Replacevar_Editor = new WPSEO_Replacevar_Editor();
$WPSEO_Replacevar_Editor->render();

Код WPSEO_Replacevar_Editor::render() Yoast 15.1.1

<?php
public function render() {
	$this->yform->hidden( $this->arguments['title'], $this->arguments['title'] );
	$this->yform->hidden( $this->arguments['description'], $this->arguments['description'] );

	printf(
		'<div
			data-react-replacevar-editor
			data-react-replacevar-title-field-id="%1$s"
			data-react-replacevar-metadesc-field-id="%2$s"
			data-react-replacevar-page-type-recommended="%3$s"
			data-react-replacevar-page-type-specific="%4$s"
			data-react-replacevar-paper-style="%5$s"></div>',
		esc_attr( $this->arguments['title'] ),
		esc_attr( $this->arguments['description'] ),
		esc_attr( $this->arguments['page_type_recommended'] ),
		esc_attr( $this->arguments['page_type_specific'] ),
		esc_attr( $this->arguments['paper_style'] )
	);
}