<?php
/**
 * Tour extras General Tab Contents
 *
 * @package WP_Travel
 */

function wptravel_tour_extras_gallery_tab_callback() {

	if ( ! class_exists( 'WP_Travel_Tour_Extras_Core' ) ) :
		$args = array(
			'title'      => __( 'Want to use above pro features?', 'wp-travel' ),
			'content'    => __( 'By upgrading to Pro, you can get features with gallery, detail extras page in Front-End and more !', 'wp-travel' ),
			'link'       => 'https://wptravel.io/wp-travel-pro/',
			'link_label' => __( 'Get WP Travel Pro', 'wp-travel' ),
		);
		wptravel_upsell_message( $args );
	endif;
	do_action( 'wptravel_tour_extras_gallery_tab_content' ); // @since 2.0.4
}
