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

WPSEO_Replacevar_Field::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_Field{}

Хуков нет.

Возвращает

null.

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

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

Код WPSEO_Replacevar_Field::render() Yoast 15.2

<?php
public function render() {
	$this->yform->hidden( $this->field_id, $this->field_id );

	printf(
		'<div
			data-react-replacevar-field
			data-react-replacevar-field-id="%1$s"
			data-react-replacevar-field-label="%2$s"
			data-react-replacevar-page-type-recommended="%3$s"
			data-react-replacevar-page-type-specific="%4$s"></div>',
		esc_attr( $this->field_id ),
		esc_attr( $this->label ),
		esc_attr( $this->page_type_recommended ),
		esc_attr( $this->page_type_specific )
	);
}