<?php
if ( ! function_exists( 'inspiry_import_files' ) ) :
	/**
	 * Demo contents files path
	 */
	function inspiry_import_files() {

		return array(
			array(
				'import_file_name'             => esc_html__( 'Candor Demo Content Import', 'inspiry' ),
				'local_import_file'            => trailingslashit( get_template_directory() ) . 'inc/demo-import/import-files/demo-content.xml',
				'local_import_widget_file'     => trailingslashit( get_template_directory() ) . 'inc/demo-import/import-files/widgets.wie',
				'local_import_customizer_file' => trailingslashit( get_template_directory() ) . 'inc/demo-import/import-files/customizer.dat',
				'import_preview_image_url'     => get_stylesheet_directory_uri() . '/screenshot.png',
				'import_notice'                => htmlspecialchars_decode( esc_html__( 'After you import this demo, you will have to setup the permalinks settings to <strong>Post name</strong> from <code>Settings > Permalinks</code> page.', 'inspiry' ) ),
			)
		);
	}

	add_filter( 'pt-ocdi/import_files', 'inspiry_import_files' );
endif;