wpcf7_remove_shortcode

The Contact Form 7 wpcf7 remove shortcode function.

Description

wpcf7_remove_shortcode( $tag ); 

Parameters (1)

0. $tag
The tag.

Usage

  1. if ( !function_exists( 'wpcf7_remove_shortcode' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7/includes/shortcodes.php'; 
  3.  
  4. // The tag. 
  5. $tag = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = wpcf7_remove_shortcode($tag); 
  9.  

Defined (1)

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

/includes/shortcodes.php  
  1. function wpcf7_remove_shortcode( $tag ) { 
  2. wpcf7_deprecated_function( __FUNCTION__, '4.6', 'wpcf7_remove_form_tag' ); 
  3.  
  4. return wpcf7_remove_form_tag( $tag );