Obtener el formulario de contacto de Post ID 7

$contact_form = WPCF7_ContactForm::get_current();
$contact_form_id = $contact_form -> id;
Lokesh003Coding