WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Получай пассивный доход от сайта с помощью браузерных PUSH уведомлений
функция не описана

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 16.2

<?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"
			data-react-replacevar-label-title="%6$s"
			data-react-replacevar-label-description="%7$s"
			data-react-replacevar-description-placeholder="%8$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'] ),
		esc_attr( $this->arguments['label_title'] ),
		esc_attr( $this->arguments['label_description'] ),
		esc_attr( $this->arguments['description_placeholder'] )
	);
}