pods-content

Do things like register/enqueue scripts and stylesheets.


Usage

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

Defined (1)

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

/components/Pages.php  
  1. /* Do things like register/enqueue scripts and stylesheets 
  2. * @since 2.0 
  3. */ 
  4. public function __construct () { 
  5. add_shortcode( 'pods-content', array( $this, 'shortcode' ) ); 
  6.  
  7. $args = array( 
  8. 'label' => 'Pod Pages',  
  9. 'labels' => array( 'singular_name' => 'Pod Page' ),  
  10. 'public' => false,