WPCF7_WelcomePanelColumn::print_content()publicCF7 1.0

{} Это метод класса: WPCF7_WelcomePanelColumn{}

Хуков нет.

Возвращает

null. Ничего.

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

$WPCF7_WelcomePanelColumn = new WPCF7_WelcomePanelColumn();
$WPCF7_WelcomePanelColumn->print_content();

Код WPCF7_WelcomePanelColumn::print_content() CF7 5.6.3

public function print_content() {
	$icon = sprintf(
		'<span class="dashicons dashicons-%s" aria-hidden="true"></span>',
		esc_attr( $this->icon() )
	);

	$title = sprintf(
		'<h3>%1$s %2$s</h3>',
		$icon,
		$this->title()
	);

	$content = $this->content();

	if ( is_array( $content ) ) {
		$content = implode( "\n\n", $content );
	}

	$content = wp_kses_post( $content );
	$content = wptexturize( $content );
	$content = convert_chars( $content );
	$content = wpautop( $content );

	echo "\n";
	echo '<div class="welcome-panel-column">';
	echo $title;
	echo $content;
	echo '</div>';
}