wpcf7_editor_panel_form()
Хуков нет.
Возвращает
null
. Ничего.
Использование
wpcf7_editor_panel_form( $post );
- $post (обязательный)
- -
Код wpcf7_editor_panel_form() wpcf7 editor panel form CF7 5.7.5.1
<?php function wpcf7_editor_panel_form( $post ) { $desc_link = wpcf7_link( __( 'https://contactform7.com/editing-form-template/', 'contact-form-7' ), __( 'Editing form template', 'contact-form-7' ) ); $description = __( "You can edit the form template here. For details, see %s.", 'contact-form-7' ); $description = sprintf( esc_html( $description ), $desc_link ); ?> <h2><?php echo esc_html( __( 'Form', 'contact-form-7' ) ); ?></h2> <fieldset> <legend><?php echo $description; ?></legend> <?php $tag_generator = WPCF7_TagGenerator::get_instance(); $tag_generator->print_buttons(); ?> <textarea id="wpcf7-form" name="wpcf7-form" cols="100" rows="24" class="large-text code" data-config-field="form.body"><?php echo esc_textarea( $post->prop( 'form' ) ); ?></textarea> </fieldset> <?php }