wpcf7_contact_form()CF7 1.0

Хуков нет.

Возвращает

WPCF7_ContactForm. Contact form object.

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

wpcf7_contact_form( $post );
$post(int|WP_Post) (обязательный)
Post ID or post object.

Код wpcf7_contact_form() CF7 5.6.4

function wpcf7_contact_form( $post ) {
	return WPCF7_ContactForm::get_instance( $post );
}