wpcf7_do_shortcode

The WordPress Core wpcf7 do shortcode function.

Description

wpcf7_do_shortcode( $content ); 

Parameters (1)

0. $content
The content.

Usage

  1. if ( !function_exists( 'wpcf7_do_shortcode' ) ) { 
  2. require_once '/includes/shortcodes.php'; 
  3.  
  4. // The content. 
  5. $content = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = wpcf7_do_shortcode($content); 
  9.  

Defined (1)

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

/includes/shortcodes.php  
  1. function wpcf7_do_shortcode( $content ) { 
  2. wpcf7_deprecated_function( __FUNCTION__, '4.6',  
  3. 'wpcf7_replace_all_form_tags' ); 
  4.  
  5. return wpcf7_replace_all_form_tags( $content );