WPCF7_ContactFormTemplate::form
Метод класса: WPCF7_ContactFormTemplate{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$result = WPCF7_ContactFormTemplate::form();
Код WPCF7_ContactFormTemplate::form() WPCF7 ContactFormTemplate::form CF7 6.1.5
public static function form() {
$template = sprintf(
'
<label> %2$s
[text* your-name autocomplete:name] </label>
<label> %3$s
[email* your-email autocomplete:email] </label>
<label> %4$s
[text* your-subject] </label>
<label> %5$s %1$s
[textarea your-message] </label>
[submit "%6$s"]',
__( '(optional)', 'contact-form-7' ),
__( 'Your name', 'contact-form-7' ),
__( 'Your email', 'contact-form-7' ),
__( 'Subject', 'contact-form-7' ),
__( 'Your message', 'contact-form-7' ),
__( 'Submit', 'contact-form-7' )
);
return trim( $template );
}