components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Front_End.php
public function the_pods() {

		// use the cached results
		$key      = '_pods_pfat_the_pods';
		$the_pods = pods_transient_get( $key );

		// check if we already have the results cached & use it if we can.
		if ( false === $the_pods ) {
			// get all post type pods
			$the_pods = pods_api()->load_pods(
				array(
					'type'  => array(
						'taxonomy',
						'post_type',
					),
					'names' => true,
				)
			);

			// cache the results
			pods_transient_set( $key, $the_pods );

		}

		return $the_pods;

	}
public function the_pods() {

		// use the cached results
		$key      = '_pods_pfat_the_pods';
		$the_pods = pods_transient_get( $key );

		// check if we already have the results cached & use it if we can.
		if ( false === $the_pods ) {
			// get all post type pods
			$the_pods = pods_api()->load_pods(
				array(
					'type'  => array(
						'taxonomy',
						'post_type',
					),
					'names' => true,
				)
			);

			// cache the results
			pods_transient_set( $key, $the_pods );

		}

		return $the_pods;

	}
public function the_pods ( ) { // use the cached results $ key = '_pods_pfat_the_pods' ; $ the_pods = pods_transient_get ( $ key ) ; // check if we already have the results cached & use it if we can. if ( false === $ the_pods ) { // get all post type pods $ the_pods = pods_api ( ) -> load_pods ( array ( 'type' => array ( 'taxonomy' , 'post_type' , ) , 'names' => true , ) ) ; // cache the results pods_transient_set ( $ key , $ the_pods ) ; } return $ the_pods ; }
Get all post type and taxonomy Pods

@since 2.4.5

@return array Of Pod names.
Get all post type and taxonomy Pods