components/Templates/includes/auto-template/Pods_Templates_Auto_Template_Settings.php
public function get_template_titles() {

		static $template_titles;

		if ( empty( $template_titles ) ) {
			$all_templates = (array) pods_api()->load_templates( array() );

			$template_titles = array();

			foreach ( $all_templates as $template ) {
				$template_titles[] = $template['name'];
			}
		}

		return $template_titles;

	}
public function get_template_titles() {

		static $template_titles;

		if ( empty( $template_titles ) ) {
			$all_templates = (array) pods_api()->load_templates( array() );

			$template_titles = array();

			foreach ( $all_templates as $template ) {
				$template_titles[] = $template['name'];
			}
		}

		return $template_titles;

	}
public function get_template_titles ( ) { static $ template_titles ; if ( empty ( $ template_titles ) ) { $ all_templates = ( array ) pods_api ( ) -> load_templates ( array ( ) ) ; $ template_titles = array ( ) ; foreach ( $ all_templates as $ template ) { $ template_titles [ ] = $ template [ 'name' ] ; } } return $ template_titles ; }
Get titles of all Pods Templates

@return string[] Array of template names

@since 2.4.5
Get titles of all Pods Templates