WPCF7_ContactForm::get_current()public staticCF7 1.0

Returns the contact form that is currently processed.

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

Хуков нет.

Возвращает

WPCF7_ContactForm|null. Current contact form object. Null if unset.

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

$result = WPCF7_ContactForm::get_current();

Код WPCF7_ContactForm::get_current() CF7 5.8.7

public static function get_current() {
	return self::$current;
}