File: /home/zwafgyp/dodolodge-net/wp-content/themes/hotel-wp/inc/data/plugins-require.php
<?php
function thim_get_all_plugins_require( $plugins ) {
return array(
array(
'name' => 'Visual Composer',
'slug' => 'js_composer',
// 'source' => 'https://plugins.thimpress.com/downloads/js_composer.zip',
'required' => true,
'premium' => true,
'version' => '5.5.5',
'icon' => 'https://s3.envato.com/files/260579516/wpb-logo.png',
),
array(
'name' => 'Elementor Page Builder',
'slug' => 'elementor',
'required' => false,
),
array(
'name' => 'AnyWhere Elementor',
'slug' => 'anywhere-elementor',
'required' => false,
),
array(
'name' => 'WP Hotel Booking',
'slug' => 'wp-hotel-booking',
),
array(
'name' => 'WP Events Manager',
'slug' => 'wp-events-manager',
),
array(
'name' => 'WP Events Manager WooCommerce ',
'slug' => 'wp-events-manager-woocommerce-payment-methods-integration',
'required' => false,
'add-on' => true,
),
array(
'name' => 'Thim Testimonials',
'slug' => 'thim-testimonials',
'source' => 'https://plugins.thimpress.com/downloads/thim-testimonials.zip',
'version' => '1.3.1',
),
// array(
// 'name' => 'Thim Hotel WP Shortcodes',
// 'slug' => 'thim-hotel-wp-shortcodes',
//// 'source' => 'https://plugins.thimpress.com/downloads/thim-hotel-wp-shortcodes.zip',
// 'premium' => true,
// 'add-on' => true,
// 'version' => '2.0.1',
// ),
//
// array(
// 'name' => 'Hotel WP Elementor',
// 'slug' => 'thim-elementor-addons-hotel',
//// 'source' => 'https://plugins.thimpress.com/downloads/thim-elementor-addons-hotel.zip',
// 'add-on' => true,
// 'premium' => true,
// 'version' => '1.0.1',
// ),
array(
'name' => 'WP Hotel Booking Authorize Sim',
'slug' => 'wp-hotel-booking-authorize-payment',
'add-on' => true,
),
array(
'name' => 'WP Hotel Booking Block',
'slug' => 'wp-hotel-booking-block-room',
'add-on' => true,
),
array(
'name' => 'WP Hotel Booking Coupon',
'slug' => 'wp-hotel-booking-coupon',
'add-on' => true,
),
array(
'name' => 'WP Hotel Booking Report',
'slug' => 'wp-hotel-booking-report',
'add-on' => true,
),
array(
'name' => 'WP Hotel Booking Stripe',
'slug' => 'wp-hotel-booking-stripe-payment',
'add-on' => true,
),
array(
'name' => 'WP Hotel Booking WooCommerce',
'slug' => 'wp-hotel-booking-woocommerce',
'add-on' => true,
),
array(
'name' => 'WP Hotel Booking WPML Support',
'slug' => 'wp-hotel-booking-wpml-support',
'add-on' => true,
),
array(
'name' => 'WooCommerce',
'slug' => 'woocommerce',
),
array(
'name' => 'Widget Logic',
'slug' => 'widget-logic',
),
array(
'name' => 'MailChimp',
'slug' => 'mailchimp-for-wp',
),
array(
'name' => 'Contact Form 7',
'slug' => 'contact-form-7',
),
array(
'name' => 'Smash Balloon Social Photo Feed',
'slug' => 'instagram-feed',
),
array(
'name' => 'WP Hotel Booking Room',
'slug' => 'wp-hotel-booking-booking-room',
'add-on' => true,
),
array(
'name' => 'Slider Revolution',
'slug' => 'revslider',
// 'source' => 'https://plugins.thimpress.com/downloads/revslider.zip',
'version' => '5.4.8',
'premium' => true,
'icon' => 'https://plugins.thimpress.com/downloads/images/revslider.png',
),
array(
'name' => 'Hotel WP Demo Data',
'slug' => 'hotel-wp-demo-data',
'version' => '2.0.0',
'description' => 'Demo data for the theme Hotel WP.',
'premium' => true
),
);
}
add_filter( 'thim_core_get_all_plugins_require', 'thim_get_all_plugins_require' );
function thim_envato_item_id() {
return '18828322';
}
add_filter( 'thim_envato_item_id', 'thim_envato_item_id' );
add_filter( 'thim_core_plugin_icon_install', 'thim_custom_plugin_icon', 10, 2 );
if ( !function_exists( 'thim_custom_plugin_icon' ) ) {
function thim_custom_plugin_icon( $icon, $plugin ) {
if ( $plugin->get_slug() == 'anywhere-elementor' ) {
$icon = 'https://ps.w.org/' . $plugin->get_slug() . '/assets/icon-128x128.jpg';
}
return $icon;
}
}