WPCF7_ContactForm::form_scan_shortcode()publicCF7 1.0

Устарела с версии 4.6. Больше не поддерживается и может быть удалена. Используйте scan_form_tags().

Scans form-tags from the form template.

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

Хуков нет.

Возвращает

Массив. Form-tags matching the given filter conditions.

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

$WPCF7_ContactForm = new WPCF7_ContactForm();
$WPCF7_ContactForm->form_scan_shortcode( $cond );
$cond(строка|массив|null)
Filters.
По умолчанию: null

Список изменений

Устарела с 4.6 Use scan_form_tags()

Код WPCF7_ContactForm::form_scan_shortcode() CF7 5.9.3

public function form_scan_shortcode( $cond = null ) {
	wpcf7_deprecated_function( __METHOD__, '4.6',
		'WPCF7_ContactForm::scan_form_tags'
	);

	return $this->scan_form_tags( $cond );
}