pod_once_template

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


Usage

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

Defined (1)

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

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