WPCF7_Mail::get_current_template_name()
Returns the name of the email template currently processed.
Expected output: 'mail' or 'mail_2'
Метод класса: WPCF7_Mail{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$result = WPCF7_Mail::get_current_template_name();
Код WPCF7_Mail::get_current_template_name() WPCF7 Mail::get current template name CF7 5.9.8
public static function get_current_template_name() { $current = self::get_current(); if ( $current instanceof self ) { return $current->get_template_name(); } }