<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' );

/**
 * Addons configuration
 *
 * @filter us_config_addons
 */
global $help_portal_url;

return array(
	array(
		'name' => 'UpSolution Core',
		'slug' => 'us-core',
		'description' => __( 'Adds plenty of features for Impreza and Zephyr themes.', 'us' ),
		'premium' => TRUE,
		'source' => $us_template_directory . '/common/plugins/us-core.zip',
		'changelog_url' => $help_portal_url . '/' . strtolower( US_THEMENAME ) . '/changelog/',
		'version' => US_THEMEVERSION,
		'url' => $help_portal_url . '/' . strtolower( US_THEMENAME ) . '/us-core/',
	),
	array(
		'name' => 'WPBakery Page Builder',
		'slug' => 'js_composer',
		'description' => __( 'Save time working on your website content.', 'us' ),
		'premium' => TRUE,
		'source' => get_template_directory() . '/Addons/js_composer.zip',
		// for NOT free plugins we need to provide "url" and "changelog url"
		'changelog_url' => 'https://kb.wpbakery.com/docs/preface/release-notes/',
		'url' => 'https://codecanyon.net/item/visual-composer-page-builder-for-wordpress/242431',
	),
	array(
		'name' => 'Advanced Custom Fields PRO',
		'slug' => 'acf',
		'folder' => 'advanced-custom-fields-pro', // needed when the folder name is different from the main PHP file
		'description' => __( 'Add fields to edit screens and display their values on website pages.', 'us' ),
		'premium' => TRUE,
		'source'  => get_template_directory() . '/Addons/advanced-custom-fields-pro.zip',
		'changelog_url' => 'https://www.advancedcustomfields.com/changelog/',
		'url' => 'https://www.advancedcustomfields.com/pro/',
		'icon_url' => 'https://ps.w.org/advanced-custom-fields/assets/icon-128x128.png',
	),
	array(
		'name' => 'FileBird PRO',
		'slug' => 'filebird',
		'folder' => 'filebird-pro',
		'description' => __( 'Create virtual folders to categorize your media uploads.', 'us' ),
		'premium' => TRUE,
		'source'  => get_template_directory() . '/Addons/filebird-pro.zip',
		'changelog_url' => 'https://codecanyon.net/item/media-folders-manager-for-wordpress/21715379',
		'url' => 'https://codecanyon.net/item/media-folders-manager-for-wordpress/21715379',
		'icon_url' => 'https://ps.w.org/filebird/assets/icon-128x128.gif',
	),
	array(
		'name' => 'Slider Revolution',
		'slug' => 'revslider',
		'description' => __( 'Create interactive sliders and presentations.', 'us' ),
		'premium' => TRUE,
		'source' => get_template_directory() . '/Addons/revslider.zip',
		'changelog_url' => 'http://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2751380',
		'url' => 'https://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2751380',
	),
	array(
		'name' => 'WooCommerce Multi Currency',
		'slug' => 'woocommerce-multi-currency',
		'description' => __( 'Allows your customers to switch between currencies.', 'us' ),
		'premium' => TRUE,
		'source' => get_template_directory() . '/Addons/woocommerce-multi-currency.zip',
		'changelog_url' => 'https://codecanyon.net/item/woocommerce-multi-currency/20948446',
		'url' => 'https://codecanyon.net/item/woocommerce-multi-currency/20948446',
		'icon_url' => 'https://ps.w.org/woo-multi-currency/assets/icon-128x128.jpg',
	),
	array(
		'name' => 'WooCommerce Bulk Editor',
		'slug' => 'woocommerce-bulk-editor/index',
		'description' => __( 'Manage shop products in the robust and flexible way.', 'us' ),
		'premium' => TRUE,
		'source' => get_template_directory() . '/Addons/woocommerce-bulk-editor.zip',
		'changelog_url' => 'https://codecanyon.net/item/woobe-woocommerce-bulk-editor-professional/21779835',
		'url' => 'https://codecanyon.net/item/woobe-woocommerce-bulk-editor-professional/21779835',
		'icon_url' => 'https://ps.w.org/woo-bulk-editor/assets/icon-128x128.png',
	),
	array(
		'name' => 'WooCommerce',
		'slug' => 'woocommerce',
		'description' => __( 'Most popular eCommerce plugin that allows you to sell anything.', 'us' ),
	),
	array(
		'name' => 'Custom Post Type UI',
		'slug' => 'custom-post-type-ui',
		'description' => __( 'Create and manage custom post types and taxonomies.', 'us' ),
	),
	array(
		'name' => 'Contact Form 7',
		'slug' => 'contact-form-7',
		'description' => __( 'Create customizable contact forms and edit the mail contents.', 'us' ),
	),
	array(
		'name' => 'Duplicate Page',
		'slug' => 'duplicate-page',
		'description' => __( 'Duplicate Posts, Pages and Custom Posts using single click.', 'us' ),
		'icon_ext' => 'jpg', // in case when PNG icon doesn't exist
	),
	array(
		'name' => 'TablePress',
		'slug' => 'tablepress',
		'description' => __( 'Create and manage tables.', 'us' ),
	),
	array(
		'name' => 'WP Super Cache',
		'slug' => 'wp-super-cache',
		'description' => __( 'Improve your website pages loading speed.', 'us' ),
	),
	array(
		'name' => 'UpdraftPlus Backup',
		'slug' => 'updraftplus',
		'description' => __( 'Backup your website files and database.', 'us' ),
		'icon_ext' => 'jpg', // in case when PNG icon doesn't exist
	),
	array(
		'name' => 'Post Views Counter',
		'slug' => 'post-views-counter',
		'description' => __( 'Allows you to display how many times a post, page or custom post type had been viewed.', 'us' ),
	),
);
