<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

class Musico_Templates_Source extends Elementor\TemplateLibrary\Source_Base {

	/**
	 * Template prefix
	 *
	 * @var string
	 */
	protected $template_prefix = 'musico_';

	/**
	 * Return JetImpex templates prefix
	 *
	 * @return [type] [description]
	 */
	public function get_prefix() {
		return $this->template_prefix;
	}

	public function get_id() {
		return 'musico-templates';
	}

	public function get_title() {
		return __( 'Musico Templates', 'musico-elementor' );
	}

	public function register_data() {}

	public function get_items( $args = array() ) {
		
		$templates = array();

		$templates_data = array(
			1 	=> array(
				'template_id'      	=> $this->template_prefix .'1',
				'source'            => $this->get_id(),
				'title'             => 'Home 1',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_1.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('home'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/home-1',
			),
			2 	=> array(
				'template_id'      	=> $this->template_prefix .'2',
				'source'            => $this->get_id(),
				'title'             => 'Home 2',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_2.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('home'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/home-2/',
			),
			3 	=> array(
				'template_id'      	=> $this->template_prefix .'3',
				'source'            => $this->get_id(),
				'title'             => 'Home 3',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_3.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('home'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/home-3/',
			),
			4 	=> array(
				'template_id'      	=> $this->template_prefix .'4',
				'source'            => $this->get_id(),
				'title'             => 'Home 4',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_4.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('home'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/home-4/',
			),
			5 	=> array(
				'template_id'      	=> $this->template_prefix .'5',
				'source'            => $this->get_id(),
				'title'             => 'Home 5',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_5.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('home'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/home-5/',
			),
			6 	=> array(
				'template_id'      	=> $this->template_prefix .'6',
				'source'            => $this->get_id(),
				'title'             => 'Home 6',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_6.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('home'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/home-6/',
			),
			7 	=> array(
				'template_id'      	=> $this->template_prefix .'7',
				'source'            => $this->get_id(),
				'title'             => 'Home 7',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_7.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('home'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/home-7/',
			),
			8 	=> array(
				'template_id'      	=> $this->template_prefix .'8',
				'source'            => $this->get_id(),
				'title'             => 'Home 8',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_8.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('home'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/home-8/',
			),
			9 	=> array(
				'template_id'      	=> $this->template_prefix .'9',
				'source'            => $this->get_id(),
				'title'             => 'Discography Coverflow',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_9.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('discography'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/discography-coverflow/',
			),
			10 	=> array(
				'template_id'      	=> $this->template_prefix .'10',
				'source'            => $this->get_id(),
				'title'             => 'Discography Classic',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_10.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('discography'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/discography-classic/',
			),
			11 	=> array(
				'template_id'      	=> $this->template_prefix .'11',
				'source'            => $this->get_id(),
				'title'             => 'Discography Classic No Space',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_11.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('discography'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/discography-classic-no-space/',
			),
			12 	=> array(
				'template_id'      	=> $this->template_prefix .'12',
				'source'            => $this->get_id(),
				'title'             => 'Discography Grid',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_12.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('discography'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/discography-grid/',
			),
			13 	=> array(
				'template_id'      	=> $this->template_prefix .'13',
				'source'            => $this->get_id(),
				'title'             => 'Discography Grid No Space',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_13.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('discography'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/discography-grid-no-space/',
			),
			14 	=> array(
				'template_id'      	=> $this->template_prefix .'14',
				'source'            => $this->get_id(),
				'title'             => 'Discography Carousel',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_14.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('discography'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/discography-carousel/',
			),
			15 	=> array(
				'template_id'      	=> $this->template_prefix .'15',
				'source'            => $this->get_id(),
				'title'             => 'Discography List',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_15.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('discography'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/discography-list/',
			),
			16 	=> array(
				'template_id'      	=> $this->template_prefix .'16',
				'source'            => $this->get_id(),
				'title'             => 'Single Album',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_16.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('discography'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/single-album/',
			),
			17 	=> array(
				'template_id'      	=> $this->template_prefix .'17',
				'source'            => $this->get_id(),
				'title'             => 'Tour Timeline Vertical',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_17.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('tour'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/tour-timeline-vertical/',
			),
			18 	=> array(
				'template_id'      	=> $this->template_prefix .'18',
				'source'            => $this->get_id(),
				'title'             => 'Tour Timeline Horizontal',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_18.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('tour'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/tour-timeline-horizontal/',
			),
			19 	=> array(
				'template_id'      	=> $this->template_prefix .'19',
				'source'            => $this->get_id(),
				'title'             => 'Tour Grid',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_19.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('tour'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/tour-grid/',
			),
			20 	=> array(
				'template_id'      	=> $this->template_prefix .'20',
				'source'            => $this->get_id(),
				'title'             => 'Tour List',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_20.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('tour'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/tour-list/',
			),
			21 	=> array(
				'template_id'      	=> $this->template_prefix .'21',
				'source'            => $this->get_id(),
				'title'             => 'Single Tour',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_21.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('tour'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/single-tour/',
			),
			22 	=> array(
				'template_id'      	=> $this->template_prefix .'22',
				'source'            => $this->get_id(),
				'title'             => 'Gallery Fullscreen',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_22.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('gallery'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/gallery-fullscreen/',
			),
			23 	=> array(
				'template_id'      	=> $this->template_prefix .'23',
				'source'            => $this->get_id(),
				'title'             => 'Gallery Preview',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_23.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('gallery'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/gallery-preview/',
			),
			24 	=> array(
				'template_id'      	=> $this->template_prefix .'24',
				'source'            => $this->get_id(),
				'title'             => 'Gallery Horizontal',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_24.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('gallery'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/gallery-horizontal/',
			),
			25 	=> array(
				'template_id'      	=> $this->template_prefix .'25',
				'source'            => $this->get_id(),
				'title'             => 'Gallery Grid',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_25.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('gallery'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/gallery-grid-with-space/',
			),
			26 	=> array(
				'template_id'      	=> $this->template_prefix .'26',
				'source'            => $this->get_id(),
				'title'             => 'Gallery Grid No Space',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_26.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('gallery'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/gallery-grid-no-space/',
			),
			27 	=> array(
				'template_id'      	=> $this->template_prefix .'27',
				'source'            => $this->get_id(),
				'title'             => 'Gallery Masonry',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_27.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('gallery'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/gallery-masonry-with-space/',
			),
			28 	=> array(
				'template_id'      	=> $this->template_prefix .'28',
				'source'            => $this->get_id(),
				'title'             => 'Gallery Masonry No Space',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_28.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('gallery'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/gallery-masonry-no-space/',
			),
			29 	=> array(
				'template_id'      	=> $this->template_prefix .'29',
				'source'            => $this->get_id(),
				'title'             => 'Gallery Justified',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_29.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('gallery'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/gallery-justified/',
			),
			30 	=> array(
				'template_id'      	=> $this->template_prefix .'30',
				'source'            => $this->get_id(),
				'title'             => 'Gallery Justified No Space',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_30.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('gallery'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/gallery-justified-no-space/',
			),
			31 	=> array(
				'template_id'      	=> $this->template_prefix .'31',
				'source'            => $this->get_id(),
				'title'             => 'Video Gallery',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_31.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('video'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/video-gallery/',
			),
			32 	=> array(
				'template_id'      	=> $this->template_prefix .'32',
				'source'            => $this->get_id(),
				'title'             => 'Video Gallery No Space',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_32.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('video'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/video-gallery-no-space/',
			),
			33 	=> array(
				'template_id'      	=> $this->template_prefix .'33',
				'source'            => $this->get_id(),
				'title'             => 'About 1',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_33.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('about'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/about-1/',
			),
			34 	=> array(
				'template_id'      	=> $this->template_prefix .'34',
				'source'            => $this->get_id(),
				'title'             => 'About 2',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_34.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('about'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/about-2/',
			),
			35 	=> array(
				'template_id'      	=> $this->template_prefix .'35',
				'source'            => $this->get_id(),
				'title'             => 'About 3',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_35.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('about'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/about-3/',
			),
			36 	=> array(
				'template_id'      	=> $this->template_prefix .'37',
				'source'            => $this->get_id(),
				'title'             => 'Blog Grid No Space',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_36.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('blog'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/blog-grid-no-space/',
			),
			37 	=> array(
				'template_id'      	=> $this->template_prefix .'37',
				'source'            => $this->get_id(),
				'title'             => 'Blog Grid',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_37.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('blog'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/blog-grid/',
			),
			38 	=> array(
				'template_id'      	=> $this->template_prefix .'38',
				'source'            => $this->get_id(),
				'title'             => 'Blog Masonry',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_38.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('blog'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/blog-masonry/',
			),
			39 	=> array(
				'template_id'      	=> $this->template_prefix .'39',
				'source'            => $this->get_id(),
				'title'             => 'Blog Metro No Space',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_39.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('blog'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/blog-metro-no-space/',
			),
			40 	=> array(
				'template_id'      	=> $this->template_prefix .'40',
				'source'            => $this->get_id(),
				'title'             => 'Blog Metro',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_40.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('blog'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/blog-metro/',
			),
			41 	=> array(
				'template_id'      	=> $this->template_prefix .'41',
				'source'            => $this->get_id(),
				'title'             => 'Blog List',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_41.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('blog'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/blog-list/',
			),
			42 	=> array(
				'template_id'      	=> $this->template_prefix .'42',
				'source'            => $this->get_id(),
				'title'             => 'Blog List Circle',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_42.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('blog'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/blog-list-circle/',
			),
			43 	=> array(
				'template_id'      	=> $this->template_prefix .'43',
				'source'            => $this->get_id(),
				'title'             => 'Blog Classic',
				'thumbnail'         => 'http://assets.themegoods.com/demo/musico/templates/screenshots/musico_43.png',
				'date'      		=> date( get_option( 'date_format' ), 1521534913 ),
				'type'				=> 'page',
				'subtype'			=> 'page',
				'author'            => 'ThemeGoods',
				'categories'        => array(),
				'keywords'          => array('blog'),
				'is_pro'            => false,
				'has_page_settings' => false,
				'url'               => 'https://themes.themegoods.com/musico/demo/blog-classic/',
			),
		);
		
		if ( ! empty( $templates_data ) ) {
			foreach ( $templates_data as $template_data ) {
				$templates[] = $this->get_item( $template_data );
			}
		}

		if ( ! empty( $args ) ) {
			$templates = wp_list_filter( $templates, $args );
		}
		
		return $templates;
	}
	
	public function get_item( $template_data ) {
		return array(
			'template_id'     => $template_data['template_id'],
			'source'          => 'remote',
			'type'            => $template_data['type'],
			'subtype'         => $template_data['subtype'],
			'title'           => $template_data['title'],
			'thumbnail'       => $template_data['thumbnail'],
			'date'            => $template_data['date'],
			'author'          => $template_data['author'],
			'tags'            => $template_data['tags'],
			'isPro'           => ( 1 == $template_data['isPro'] ),
			'popularityIndex' => (int) $template_data['popularityIndex'],
			'trendIndex'      => (int) $template_data['trendIndex'],
			'hasPageSettings' => ( 1 == $template_data['hasPageSettings'] ),
			'url'             => $template_data['url'],
			'favorite'        => ( 1 == $template_data['favorite'] ),
		);
	}

	public function save_item( $template_data ) {
		return false;
	}

	public function update_item( $new_data ) {
		return false;
	}

	public function delete_template( $template_id ) {
		return false;
	}

	public function export_template( $template_id ) {
		return false;
	}

	public function get_data( array $args, $context = 'display' ) {
		$url	  = 'http://assets.themegoods.com/demo/musico/templates/json/'.$args['template_id'].'.json';
		$response = wp_remote_get( $url, array( 'timeout' => 60 ) );
		$body     = wp_remote_retrieve_body( $response );
		$body     = json_decode( $body, true );
		$data     = ! empty( $body['content'] ) ? $body['content'] : false;
		
		$result = array();

		$result['content']       = $this->replace_elements_ids($data);
		$result['content']       = $this->process_export_import_content( $result['content'], 'on_import' );
		$result['page_settings'] = array();

		return $result;
	}
}
