wpcf7_register_post_types

The Contact Form 7 wpcf7 register post types function.

Description

wpcf7_register_post_types(); 

Usage

  1. if ( !function_exists( 'wpcf7_register_post_types' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7/includes/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wpcf7_register_post_types(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/functions.php  
  1. function wpcf7_register_post_types() { 
  2. if ( class_exists( 'WPCF7_ContactForm' ) ) { 
  3. WPCF7_ContactForm::register_post_type(); 
  4. return true; 
  5. } else { 
  6. return false;