wpcf7_replace_all_form_tags
The Contact Form 7 wpcf7 replace all form tags function.
Description
wpcf7_replace_all_form_tags( $content );
Parameters (1)
- 0. $content
- The content.
Usage
if ( !function_exists( 'wpcf7_replace_all_form_tags' ) ) { require_once ABSPATH . PLUGINDIR . 'contact-form-7/includes/form-tags-manager.php'; } // The content. $content = null; // NOTICE! Understand what this does before running. $result = wpcf7_replace_all_form_tags($content);
Defined (1)
The function is defined in the following location(s).
- /includes/form-tags-manager.php
- function wpcf7_replace_all_form_tags( $content ) {
- $manager = WPCF7_FormTagsManager::get_instance();
- return $manager->replace_all( $content );
- }