<get_shortcode_name>

The Caldera Forms get shortcode name shortcode.


Usage

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

Defined (1)

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

/classes/core.php  
  1. add_action( 'caldera_forms_entry_actions', array( Caldera_Forms_Entry_UI::get_instance(), 'get_entry_actions'), 1); 
  2.  
  3. add_action( 'rest_api_init', array( __CLASS__, 'init_rest_api' ) ); 
  4.  
  5. //entry viewer shortcode 
  6. add_shortcode( Caldera_Forms_Entry_Shortcode::get_shortcode_name(), array( 'Caldera_Forms_Entry_Shortcode', 'shortcode_callback' ) ); 
  7.  
  8. //init Credit card # hash class here, not on hook, so it can't be unhooked 
  9. new Caldera_Forms_Field_Credit; 
  10.  
  11. /** Load magic tag system */