wpcf7_get_current_contact_form()
Wrapper function of WPCF7_ContactForm::get_current().
Хуков нет.
Возвращает
WPCF7_ContactForm
. Contact form object.
Использование
wpcf7_get_current_contact_form();
Код wpcf7_get_current_contact_form() wpcf7 get current contact form CF7 6.0
function wpcf7_get_current_contact_form() { if ( $current = WPCF7_ContactForm::get_current() ) { return $current; } }