<shortcode>

The Membership 2 shortcode shortcode.


Usage

  1. // assign value 
  2. $shortcode = 'dynamic_tag'; 
  3.  
  4. // basic usage 
  5. echo do_shortcode("[$shortcode]"); 
  1. // assign value 
  2. $shortcode = 'dynamic_tag'; 
  3.  
  4. // variable usage 
  5. $result = do_shortcode("[$shortcode]"); 
  6. echo $result;  

Defined (1)

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

/app/controller/class-ms-controller-shortcode.php  
  1. MS_Helper_Shortcode::SCODE_GREEN_NOTE,  
  2. MS_Helper_Shortcode::SCODE_RED_NOTE,  
  3. ); 
  4.  
  5. foreach ( $shortcodes as $shortcode ) { 
  6. add_shortcode( $shortcode, array( $this, 'ms_no_value' ) ); 
  7.  
  8. add_shortcode( 
  9. MS_Rule_Shortcode_Model::PROTECT_CONTENT_SHORTCODE,  
  10. array( $this, 'hide_shortcode')