WPCF7_HTMLFormatter::print │ public │ CF7 1.0

Prints the output. Returns false if the allowed_html option is empty.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$WPCF7_HTMLFormatter = new WPCF7_HTMLFormatter();
$WPCF7_HTMLFormatter->print();

Код WPCF7_HTMLFormatter::print() CF7 6.2.4.1

public function print() {
	if ( empty( $this->options['allowed_html'] ) ) {
		return false;
	}

	echo wp_kses( $this->output(), $this->options['allowed_html'] );
}