function wpcf7_register_post_types() { if (class_exists('WPCF7_ContactForm')) { WPCF7_ContactForm::register_post_type(); return true; } else { return false; } }
function wpcf7_register_post_types() { WPCF7_ContactForm::register_post_type(); }