WPCF7_ContactForm::form_do_shortcode
Устарела с версии 4.6. Больше не поддерживается и может быть удалена. Используйте
replace_all_form_tags().Replaces all form-tags in the form template with corresponding HTML.
Метод класса: WPCF7_ContactForm{}
Хуков нет.
Возвращает
Строку. Replaced form content.
Использование
$WPCF7_ContactForm = new WPCF7_ContactForm(); $WPCF7_ContactForm->form_do_shortcode();
Список изменений
| Устарела с 4.6 | Use replace_all_form_tags() |
Код WPCF7_ContactForm::form_do_shortcode() WPCF7 ContactForm::form do shortcode CF7 6.1.5
public function form_do_shortcode() {
wpcf7_deprecated_function( __METHOD__, '4.6',
'WPCF7_ContactForm::replace_all_form_tags'
);
return $this->replace_all_form_tags();
}