WPCF7_TagGenerator::print_buttons()publicCF7 1.0

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

Хуков нет.

Возвращает

null. Ничего.

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

$WPCF7_TagGenerator = new WPCF7_TagGenerator();
$WPCF7_TagGenerator->print_buttons();

Код WPCF7_TagGenerator::print_buttons() CF7 5.7.6

public function print_buttons() {
	echo '<span id="tag-generator-list">';

	foreach ( (array) $this->panels as $panel ) {
		echo sprintf(
			'<a href="#TB_inline?width=900&height=500&inlineId=%1$s" class="thickbox button" title="%2$s">%3$s</a>',
			esc_attr( $panel['content'] ),
			esc_attr( sprintf(
				/* translators: %s: title of form-tag like 'email' or 'checkboxes' */
				__( 'Form-tag Generator: %s', 'contact-form-7' ),
				$panel['title'] ) ),
			esc_html( $panel['title'] )
		);
	}

	echo '</span>';
}