<?php
ob_start();
include plugin_dir_path(__FILE__) . 'views/plugin_compare_table.php';
$plugin_compare_table = ob_get_contents();
ob_end_clean();
$cminds_plugin_config = array(
    'plugin-is-pro'                 => false,
    'plugin-has-addons'             => TRUE,
    'plugin-version'                => '3.4.2',
	'plugin-addons'        => array(
		array(
			'title' => 'Tooltip Glossary Plugin',
			'description' => 'Create a WordPress glossary, encyclopedia, or dictionary of terms and display responsive tooltips on hover.',
			'link' => 'https://wordpress.org/plugins/enhanced-tooltipglossary/',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPTooltipGlossaryS.png',
		),
		array(
			'title' => 'Download Manager Plugin',
			'description' => 'Manage downloadable files on your site with the download and file manager plugin. Organize files, control access, and improve user experience.',
			'link' => 'https://wordpress.org/plugins/cm-download-manager/',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPDownloadManagerS.png',
		),
		array(
			'title' => 'FAQ Plugin',
			'description' => 'Create and manage a user-friendly FAQ section on your site with this FAQ plugin. Answer common questions and improve user experience.',
			'link' => 'https://wordpress.org/plugins/cm-faq/',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPFAQS.png',
		),
		array(
			'title' => 'Search and Replace Plugin',
			'description' => 'Search and replace words, phrases, and HTML within your website posts and pages.',
			'link' => 'https://wordpress.org/plugins/cm-on-demand-search-and-replace/',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPOnDemandSearchandReplaceS.png',
		),
		array(
			'title' => 'Registration and Invitation Codes',
			'description' => 'Manage user registration forms with invitation codes and control access. Simplify login and registration processes using Ajax based solution.',
			'link' => 'https://wordpress.org/plugins/cm-invitation-codes/',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPUserRegistrationAndInvitationCodesS.png',
		),
		array(
			'title' => 'Email Blacklist Registration',
			'description' => 'Block unwanted email registrations on your site with this email blacklist plugin. Protect your site by preventing spam sign-ups.',
			'link' => 'https://wordpress.org/plugins/cm-email-blacklist/',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPEmailDomainBlacklistS.png',
		),
	),
	'plugin-specials'        => array(
		array(
			'title' => 'MicroPayments Digital Wallet',
			'description' => 'MicroPayments establishes a digital wallet system, allowing users to seamlessly exchange points for goods, gift points, or directly purchase points using credit cards.',
			'link' => 'https://www.cminds.com/wordpress-plugins-library/micropayments/?discount=CMINDS10',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/MicropaymentsS.png',
		),
		array(
			'title' => 'Reviews and Rating Plugin',
			'description' => 'Allow visitors and users to submit reviews and ratings, and display them on any product, posts, or pages.',
			'link' => 'https://www.cminds.com/wordpress-plugins-library/customer-reviews-plugin-wordpress/?discount=CMINDS10',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPCustomerReviewsS.png',
		),
		array(
			'title' => 'Map Locations Manager',
			'description' => 'Efficiently manage map locations and enable location finding using Google Maps. Includes support for detailed location descriptions, images, and videos.',
			'link' => 'https://www.cminds.com/wordpress-plugins-library/multiple-locations-google-maps/?discount=CMINDS10',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPMapLocationsandStoreLocaterS.png',
		),
		array(
			'title' => 'Map Routes Manager',
			'description' => 'Draw map routes and generate a catalog of routes and trails with points of interest using Google maps.',
			'link' => 'https://www.cminds.com/wordpress-plugins-library/google-maps-routes-manager-plugin-for-wordpress-by-creativeminds/?discount=CMINDS10',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPMapRoutesManagerS.png',
		),
		array(
			'title' => 'Site Access and Content Restriction',
			'description' => 'A robust membership solution and content restriction plugin that supports role-based access to content on your WordPress website.',
			'link' => 'https://www.cminds.com/wordpress-plugins-library/membership-plugin-for-wordpress/?discount=CMINDS10',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPSiteRestrictionS.png',
		),
		array(
			'title' => 'Secure Login 2FA Authentication',
			'description' => 'Offers a robust solution for WordPress two-factor authentication and provide a better account security for your WordPress users.',
			'link' => 'https://www.cminds.com/wordpress-plugins-library/secure-login-two-factor-authentication-wordpress/?discount=CMINDS10',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPSecureLoginAndTwoFactorS.png',
		),
	),
	'plugin-bundles'        => array(
		array(
			'title' => '99+ Free Pass Plugins Suite',
			'description' => 'Get all CM 99+ WordPress plugins and addons. Includes unlimited updates and one year of priority support.',
			'link' => 'https://www.cminds.com/wordpress-plugins-library/cm-wordpress-plugins-yearly-membership/',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPBundleWPSuiteS.png',
		),
		array(
			'title' => 'Essential Publishing Plugin Package',
			'description' => 'Enhance your WordPress publishing with a bundle of seven plugins that elevate content generation, presentation, and user engagement on your site.',
			'link' => 'https://www.cminds.com/wordpress-plugins-library/essential-wordpress-publishing-tools-bundle/',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPBundlePublishingS.png',
		),
		array(
			'title' => 'Essential Content Marketing Tools',
			'description' => 'Enhance your WordPress content marketing with seven plugins for improved content generation, presentation, and user engagement.',
			'link' => 'https://www.cminds.com/wordpress-plugins-library/essential-wordpress-content-marketing-tools-bundle/',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPBundleContentS.png',
		),
		array(
			'title' => 'Essential Security Plugins',
			'description' => 'Enhance your WordPress security with a bundle of five plugins that provide additional ways to protect your content and site from spammers, hackers, and exploiters.',
			'link' => 'https://www.cminds.com/wordpress-plugins-library/essential-wordpress-security-tools-plugin-bundle/',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPBundleSecurityS.png',
		),
	),
	'plugin-services'        => array(
		array(
			'title' => 'WordPress Custom Hourly Support',
			'description' => 'Hire our expert WordPress developers on an hourly basis, offering a-la-carte service to craft your custom WordPress solution.',
			'link' => 'https://www.cminds.com/wordpress-services/wordpress-custom-hourly-support-package/',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPServicesHourlySupportS.png',
		),
		array(
			'title' => 'Performance and Optimization Analysis',
			'description' => 'Receive a comprehensive review of your WordPress website with optimization suggestions to enhance its speed and performance.',
			'link' => 'https://www.cminds.com/wordpress-services/wordpress-performance-and-speed-optimization-analysis-service/',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPServicesPerformanceS.png',
		),
		array(
			'title' => 'WordPress Plugin Installation',
			'description' => 'We offer professional installation and configuration of plugins or add-ons on your site, tailored to your specified requirements.',
			'link' => 'https://www.cminds.com/wordpress-services/plugin-installation-service-for-wordpress-by-creativeminds/',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPServicesExtensionInstallationS.png',
		),
		array(
			'title' => 'WordPress Consulting',
			'description' => 'Purchase consulting hours to receive assistance in designing or planning your WordPress solution. Our expert consultants are here to help bring your vision to life.',
			'link' => 'https://www.cminds.com/wordpress-services/consulting-planning-hourly-support-service-wordpress-creativeminds/#description',
			'image' => plugin_dir_url( __FILE__ ) . 'views/icons/WPServicesConsultingS.png',
		),
	),
    'plugin-affiliate'              => '',
    'plugin-redirect-after-install' => admin_url( 'admin.php?page=CMA_admin_settings' ),
    'plugin-settings'               => admin_url( 'admin.php?page=CMA_admin_settings' ),
    'plugin-campign'                => '?utm_source=cmafree&utm_campaign=freeupgrade',
    'plugin-show-guide'             => TRUE,
    'plugin-guide-text'             => '    <div style="display:block">
        <ol>
         <li>Go to <strong>"Setting"</strong> and click on <strong>"Link to questions frontend list"</strong></li>
            <li>Scroll down to the bottom and <strong>Add</strong> your first question</li>
            <li>Click on the question which was created and scroll down to <strong>Add</strong>  your first answer.</li>
            <li>In the plugin setting you can change moderation options and notification settings</li>
            <li><strong>Troubleshooting:</strong> Make sure that you are using Post name permalink structure in the WP Admin Settings -> Permalinks.</li>
            <li><strong>Troubleshooting:</strong> If post type archive does not show up or displays 404 then install Rewrite Rules Inspector plugin and use the Flush rules button.</li>
            <li><strong>Troubleshooting:</strong> if the settings cannot be saved eg. 403 Forbidden error shows up after pressed the Save button, then contact your hosting provider and ask for the restrictions for POST requests to the /wp-admin/admin.php.</li>        </ol>
    </div>',
    'plugin-guide-video-height'     => 240,
    'plugin-guide-videos'           => array(
        array( 'title' => 'Installation tutorial', 'video_id' => '159673807' ),
    ),
    'plugin-upgrade-text'           => 'Good Reasons to Upgrade to Pro',
    'plugin-upgrade-text-list'      => array(
        array( 'title' => 'Why you should upgrade to Pro', 'video_time' => '0:00' ),
        array( 'title' => 'Improved questions list view with search and filters ', 'video_time' => '0:03' ),
        array( 'title' => 'Improved thred view with more options', 'video_time' => '0:50' ),
        array( 'title' => 'Categories support', 'video_time' => '1:24' ),
        array( 'title' => 'Multiple attachment support', 'video_time' => '1:55' ),
        array( 'title' => 'Replace comments with question module', 'video_time' => '2:34' ),
        array( 'title' => 'Enhanced voting support', 'video_time' => '3:18' ),
        array( 'title' => 'Tags support', 'video_time' => '3:49' ),
        array( 'title' => 'User dashboard and profile', 'video_time' => '4:23' ),
        array( 'title' => 'Multiple forums support', 'video_time' => '4:56' ),
        array( 'title' => 'Logs and statistics', 'video_time' => '5:18' ),
        array( 'title' => 'Private posts', 'video_time' => '5:52' ),
        array( 'title' => 'Advanced notifications', 'video_time' => '6:28' ),
        array( 'title' => 'Disclaimer support ', 'video_time' => '6:55' ),
        array( 'title' => 'Shortcode support ', 'video_time' => '7:52' ),
   ),
    'plugin-upgrade-video-height'   => 240,
    'plugin-upgrade-videos'         => array(
        array( 'title' => 'Answers Premium Plugin Overview', 'video_id' => '271271526' ),
    ),
    'plugin-abbrev'                 => 'cma',
    'plugin-file'                   => CMA_PLUGIN_FILE,
    'plugin-dir-path'               => plugin_dir_path( CMA_PLUGIN_FILE ),
    'plugin-dir-url'                => plugin_dir_url( CMA_PLUGIN_FILE ),
    'plugin-basename'               => plugin_basename( CMA_PLUGIN_FILE ),
    'plugin-icon'                   => '',
    'plugin-name'                   => 'CM Answers',
    'plugin-license-name'           => 'CM Answers',
    'plugin-slug'                   => '',
    'plugin-short-slug'             => 'cm-answers',
    'plugin-menu-item'              => 'CMA_answers_menu',
    'plugin-textdomain'             => 'cm-answers',
    'plugin-userguide-key'          => '987-answers-cma',
    'plugin-store-url'              => 'https://www.cminds.com/cm-answer-store-page-content/?utm_source=cmafree&utm_campaign=freeupgrade&upgrade=1',
    'plugin-support-url'            => 'https://www.cminds.com/contact/',
    'plugin-review-url'             => 'https://wordpress.org/support/view/plugin-reviews/cm-answers',
    'plugin-changelog-url'          => 'https://www.cminds.com/wordpress-plugins-library/cm-answers-changelog/',
    'plugin-licensing-aliases'      => array( 'CM Answers' ),
    'plugin-compare-table'          => $plugin_compare_table,
);