WPCF7_ContactForm::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->scan_form_tags( $cond );
- $cond(строка|массив|null)
- Filters.
По умолчанию: null
Код WPCF7_ContactForm::scan_form_tags() WPCF7 ContactForm::scan form tags CF7 6.0.3
public function scan_form_tags( $cond = null ) { $manager = WPCF7_FormTagsManager::get_instance(); if ( empty( $this->scanned_form_tags ) ) { $this->scanned_form_tags = $manager->scan( $this->prop( 'form' ) ); } $tags = $this->scanned_form_tags; return $manager->filter( $tags, $cond ); }