classes/PodsMeta.php
public function cache_pods() {

		self::$advanced_content_types = pods_api()->load_pods( array( 'type' => 'pod', 'refresh' => true ) );
		self::$post_types             = pods_api()->load_pods( array( 'type' => 'post_type', 'refresh' => true ) );
		self::$taxonomies             = pods_api()->load_pods( array( 'type' => 'taxonomy', 'refresh' => true ) );
		self::$media                  = pods_api()->load_pods( array( 'type' => 'media', 'refresh' => true ) );
		self::$user                   = pods_api()->load_pods( array( 'type' => 'user', 'refresh' => true ) );
		self::$comment                = pods_api()->load_pods( array( 'type' => 'comment', 'refresh' => true ) );
		self::$settings               = pods_api()->load_pods( array( 'type' => 'settings', 'refresh' => true ) );
	}
public function cache_pods() {

		self::$advanced_content_types = pods_api()->load_pods( array( 'type' => 'pod', 'refresh' => true ) );
		self::$post_types             = pods_api()->load_pods( array( 'type' => 'post_type', 'refresh' => true ) );
		self::$taxonomies             = pods_api()->load_pods( array( 'type' => 'taxonomy', 'refresh' => true ) );
		self::$media                  = pods_api()->load_pods( array( 'type' => 'media', 'refresh' => true ) );
		self::$user                   = pods_api()->load_pods( array( 'type' => 'user', 'refresh' => true ) );
		self::$comment                = pods_api()->load_pods( array( 'type' => 'comment', 'refresh' => true ) );
		self::$settings               = pods_api()->load_pods( array( 'type' => 'settings', 'refresh' => true ) );
	}
public function cache_pods ( ) { self :: $ advanced_content_types = pods_api ( ) -> load_pods ( array ( 'type' => 'pod' , 'refresh' => true ) ) ; self :: $ post_types = pods_api ( ) -> load_pods ( array ( 'type' => 'post_type' , 'refresh' => true ) ) ; self :: $ taxonomies = pods_api ( ) -> load_pods ( array ( 'type' => 'taxonomy' , 'refresh' => true ) ) ; self :: $ media = pods_api ( ) -> load_pods ( array ( 'type' => 'media' , 'refresh' => true ) ) ; self :: $ user = pods_api ( ) -> load_pods ( array ( 'type' => 'user' , 'refresh' => true ) ) ; self :: $ comment = pods_api ( ) -> load_pods ( array ( 'type' => 'comment' , 'refresh' => true ) ) ; self :: $ settings = pods_api ( ) -> load_pods ( array ( 'type' => 'settings' , 'refresh' => true ) ) ; }
Go back through and cache the Pods now that Polylang has loaded
Go back through and cache the Pods now that Polylang has loaded