pod_sub_template

The Pods - Custom Content Types and Fields pod sub template shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[pod_sub_template]'); 
  1. // variable usage 
  2. $result = do_shortcode('[pod_sub_template]'); 
  3. echo $result;  

Defined (1)

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

/components/Templates/includes/functions-view_template.php  
  1. // add filters 
  2. add_filter( "pods_templates_post_template", "frontier_end_template", 25, 4 ); 
  3. add_filter( "pods_templates_do_template", "frontier_do_shortcode", 25, 1 ); 
  4.  
  5. // template shortcode handlers 
  6. add_shortcode( "pod_sub_template", "frontier_do_subtemplate" ); 
  7. add_shortcode( "pod_once_template", "frontier_template_once_blocks" ); 
  8. add_shortcode( "pod_after_template", "frontier_template_blocks" ); 
  9. add_shortcode( "pod_before_template", "frontier_template_blocks" ); 
  10. add_shortcode( "pod_if_field", "frontier_if_block" ); 
  11.