WPCF7_FormTagsManager::restore_from_placeholders()publicCF7 1.0

Replace placeholders in the given text with original form-tags.

Метод класса: WPCF7_FormTagsManager{}

Хуков нет.

Возвращает

null. Ничего.

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

$WPCF7_FormTagsManager = new WPCF7_FormTagsManager();
$WPCF7_FormTagsManager->restore_from_placeholders( $content );
$content (обязательный)
-

Код WPCF7_FormTagsManager::restore_from_placeholders() CF7 5.7.3

public function restore_from_placeholders( $content ) {
	return str_replace(
		array_keys( $this->placeholders ),
		array_values( $this->placeholders ),
		$content
	);
}