/home/techb158/primomovers.ca/wp-content/plugins/everest-forms/includes
NameSizeModeActions
abilities/-0755rm
abstracts/-0755rm
admin/-0755rm
blocks/-0755rm
elementor/-0755rm
export/-0755rm
fields/-0755rm
Helpers/-0755rm
Integrations/-0755rm
interfaces/-0755rm
libraries/-0755rm
log-handlers/-0755rm
RestApi/-0755rm
shortcodes/-0755rm
stats/-0755rm
templates/-0755rm
traits/-0755rm
class-everest-forms.php151470644editdlrm
class-evf-addon-upsell.php105920644editdlrm
class-evf-ajax.php788220644editdlrm
class-evf-autoloader.php19680644editdlrm
class-evf-background-process-import-entries.php52760644editdlrm
class-evf-background-updater.php33510644editdlrm
class-evf-cache-helper.php24160644editdlrm
class-evf-cron.php18710644editdlrm
class-evf-deprecated-action-hooks.php40080644editdlrm
class-evf-deprecated-filter-hooks.php37290644editdlrm
class-evf-email-entries-report.php118780644editdlrm
class-evf-emails.php201340644editdlrm
class-evf-fields.php48280644editdlrm
class-evf-form-handler.php167800644editdlrm
class-evf-form-task.php954660644editdlrm
class-evf-forms-features.php19570644editdlrm
class-evf-frontend-scripts.php173990644editdlrm
class-evf-install.php215130644editdlrm
class-evf-integrations.php69430644editdlrm
class-evf-log-levels.php26740644editdlrm
class-evf-logger.php84710644editdlrm
class-evf-post-types.php52540644editdlrm
class-evf-privacy.php75870644editdlrm
class-evf-report-cron.php66890644editdlrm
class-evf-reporting.php12010644editdlrm
class-evf-session-handler.php82110644editdlrm
class-evf-shortcodes.php20840644editdlrm
class-evf-smart-tags.php207420644editdlrm
class-evf-template-loader.php146430644editdlrm
class-evf-validation.php9340644editdlrm
evf-conditional-functions.php12420644editdlrm
evf-core-functions.php2015750644editdlrm
evf-deprecated-functions.php63650644editdlrm
evf-entry-functions.php93670644editdlrm
evf-formatting-functions.php159580644editdlrm
evf-notice-functions.php63780644editdlrm
evf-template-functions.php12250644editdlrm
evf-template-hooks.php4390644editdlrm
evf-update-functions.php102030644editdlrm
Edit: /home/techb158/primomovers.ca/wp-content/plugins/everest-forms/includes/class-evf-addon-upsell.php (10592B)
array( 'category' => 'utilities', 'label' => esc_html__( 'PDF Submission', 'everest-forms' ), 'icon' => plugins_url( 'assets/extensions-json/sections/images/pdf-submission.png', EVF_PLUGIN_FILE ), 'description' => esc_html__( 'Generate beautiful PDFs from form submissions and send them via email.', 'everest-forms' ), 'active_check' => 'EVF_PDF_SUBMISSION_VERSION', 'vedio_id' => '37CtaxJzYis', 'upgrade_url' => 'https://wpeverest.com/wordpress-plugins/everest-forms/pricing/', 'docs_url' => 'https://docs.everestforms.net/docs/pdf-form-submission/', 'features' => array( esc_html__( 'Send submitted form data as a PDF attachment', 'everest-forms' ), esc_html__( 'Print or share submission details more easily', 'everest-forms' ), esc_html__( 'Store important form data in a professional format ', 'everest-forms' ), esc_html__( 'Make record-keeping much simpler', 'everest-forms' ), ), ), 'user_registration' => array( 'category' => 'utilities', 'label' => esc_html__( 'User Registration', 'everest-forms' ), 'icon' => plugins_url( 'assets/extensions-json/sections/images/user-registration.png', EVF_PLUGIN_FILE ), 'description' => esc_html__( 'Register WordPress users and enable social login directly from your forms.', 'everest-forms' ), 'vedio_id' => 'MEyuznG2Tok', 'active_check' => 'EverestForms\\Pro\\Addons\\UserRegistration\\UserRegistration', 'upgrade_url' => 'https://wpeverest.com/wordpress-plugins/everest-forms/pricing/', 'docs_url' => 'https://docs.everestforms.net/docs/user-registration/', 'features' => array( esc_html__( 'Let people register from the front end of your site ', 'everest-forms' ), esc_html__( 'Create WordPress user accounts from form submissions', 'everest-forms' ), esc_html__( 'Map form fields to user account details', 'everest-forms' ), esc_html__( 'Use one form for both data collection and signup', 'everest-forms' ), ), ), 'paypal_standard' => array( 'category' => 'payments', 'label' => esc_html__( 'PayPal Standard', 'everest-forms' ), 'icon' => plugins_url( 'assets/extensions-json/sections/images/payment-paypal.png', EVF_PLUGIN_FILE ), 'description' => esc_html__( 'Accept one-time and recurring payments via PayPal.', 'everest-forms' ), 'active_check' => 'EVF_PAYPAL_STANDARD_VERSION', 'vedio_id' => 'pcwPjCt7N2I', 'upgrade_url' => 'https://wpeverest.com/wordpress-plugins/everest-forms/pricing/', 'docs_url' => 'https://docs.everestforms.net/docs/paypal-standard/', 'features' => array( esc_html__( 'One-time payments and recurring subscriptions', 'everest-forms' ), esc_html__( 'Trusted buyer protection and established security', 'everest-forms' ), esc_html__( 'Multiple subscription plans with trial periods', 'everest-forms' ), ), ), 'stripe' => array( 'category' => 'payments', 'label' => esc_html__( 'Stripe', 'everest-forms' ), 'icon' => plugins_url( 'assets/extensions-json/sections/images/payment-stripe.png', EVF_PLUGIN_FILE ), 'description' => esc_html__( 'Process one-time and recurring charges securely via Stripe.', 'everest-forms' ), 'active_check' => 'EVF_STRIPE_VERSION', 'vedio_id' => 'wZXnaxLxdz4', 'upgrade_url' => 'https://wpeverest.com/wordpress-plugins/everest-forms/pricing/', 'docs_url' => 'https://docs.everestforms.net/docs/stripe/', 'features' => array( esc_html__( 'One-time charges and recurring subscriptions with trials', 'everest-forms' ), esc_html__( 'SCA compliant for EU payment regulation', 'everest-forms' ), esc_html__( 'Accepts credit cards and iDEAL payments', 'everest-forms' ), esc_html__( 'Map form fields to Stripe customer profile', 'everest-forms' ), ), ), 'square' => array( 'category' => 'payments', 'label' => esc_html__( 'Square', 'everest-forms' ), 'icon' => plugins_url( 'assets/extensions-json/sections/images/square-payment.png', EVF_PLUGIN_FILE ), 'description' => esc_html__( 'Accept Square payments directly inside your WordPress forms.', 'everest-forms' ), 'active_check' => 'EVF_SQUARE_VERSION', 'vedio_id' => '5ymZV-S0mMs', 'upgrade_url' => 'https://wpeverest.com/wordpress-plugins/everest-forms/pricing/', 'docs_url' => 'https://docs.everestforms.net/docs/square/', 'features' => array( esc_html__( 'On-site payments — no off-site redirect', 'everest-forms' ), esc_html__( 'Sandbox and production credentials supported', 'everest-forms' ), esc_html__( 'Test Mode toggle for safe pre-launch testing', 'everest-forms' ), esc_html__( 'Map form fields to Square customer details', 'everest-forms' ), ), ), 'authorize_net' => array( 'category' => 'payments', 'label' => esc_html__( 'Authorize.Net', 'everest-forms' ), 'icon' => plugins_url( 'assets/extensions-json/sections/images/authorize-net.png', EVF_PLUGIN_FILE ), 'description' => esc_html__( 'Accept credit cards and recurring subscriptions via Authorize.Net.', 'everest-forms' ), 'active_check' => 'EVF_AUTHORIZE_NET_VERSION', 'vedio_id' => 'a5EcKjwWD1A', 'upgrade_url' => 'https://wpeverest.com/wordpress-plugins/everest-forms/pricing/', 'docs_url' => 'https://docs.everestforms.net/docs/authorize-net/', 'features' => array( esc_html__( 'On-site card processing — users never leave your site', 'everest-forms' ), esc_html__( 'Recurring billing with customizable plans and schedules', 'everest-forms' ), esc_html__( 'Live and sandbox modes for safe testing', 'everest-forms' ), esc_html__( 'Map form fields to customer billing details', 'everest-forms' ), ), ), 'razorpay' => array( 'category' => 'payments', 'label' => esc_html__( 'Razorpay', 'everest-forms' ), 'icon' => plugins_url( 'assets/extensions-json/sections/images/Razorpay.png', EVF_PLUGIN_FILE ), 'description' => esc_html__( 'Accept cards, net banking, and mobile wallets — ideal for India.', 'everest-forms' ), 'active_check' => 'EVF_RAZORPAY_VERSION', 'vedio_id' => '2Og6b1JXDWs', 'upgrade_url' => 'https://wpeverest.com/wordpress-plugins/everest-forms/pricing/', 'docs_url' => 'https://docs.everestforms.net/docs/razorpay/', 'features' => array( esc_html__( 'Cards, net banking, and Indian mobile wallets', 'everest-forms' ), esc_html__( 'Coupon code support for payment discounts', 'everest-forms' ), esc_html__( 'Separate test and live API credentials', 'everest-forms' ), esc_html__( 'Industry-standard encryption for secure processing', 'everest-forms' ), ), ), 'mollie' => array( 'category' => 'payments', 'label' => esc_html__( 'Mollie', 'everest-forms' ), 'icon' => plugins_url( 'assets/extensions-json/sections/images/Mollie.png', EVF_PLUGIN_FILE ), 'description' => esc_html__( 'Accept payments and recurring subscriptions via Mollie.', 'everest-forms' ), 'active_check' => 'EVF_MOLLIE_VERSION', 'vedio_id' => 'r263krbqzfo', 'upgrade_url' => 'https://wpeverest.com/wordpress-plugins/everest-forms/pricing/', 'docs_url' => 'https://docs.everestforms.net/docs/mollie/', 'features' => array( esc_html__( 'Recurring billing for memberships and services', 'everest-forms' ), esc_html__( 'Map form fields to subscription customer details', 'everest-forms' ), esc_html__( 'Custom confirmation page after payment', 'everest-forms' ), esc_html__( 'Test and live modes for development and production', 'everest-forms' ), ), ), ) ); } /** * Check whether an addon is currently active. * * @param string $active_check Constant name or fully-qualified class name. * @return bool */ private static function is_active( $active_check ) { if ( empty( $active_check ) ) { return false; } return defined( $active_check ) || class_exists( $active_check ); } /** * Build a upsell entry from a registry config. * * @param array $config Registry config. * @return array */ private static function build_upsell( array $config ) { return array( 'label' => $config['label'], 'upsell' => true, 'icon' => $config['icon'] ?? '', 'description' => $config['description'] ?? '', 'vedio_id' => $config['vedio_id'] ?? '', 'upgrade_url' => $config['upgrade_url'] ?? 'https://wpeverest.com/wordpress-plugins/everest-forms/pricing/', 'docs_url' => $config['docs_url'] ?? 'https://docs.everestforms.net/docs/', 'features' => $config['features'] ?? array(), ); } /** * Get upsell entries for addons in a given category. * * @param string $category Category key e.g. 'utilities', 'payments'. * @param bool $check_active Skip entries whose addon is already active when true. * @return array */ public static function get_upsells_for_category( $category, $check_active = true ) { $upsells = array(); foreach ( self::get_registry() as $id => $config ) { if ( $config['category'] !== $category ) { continue; } if ( $check_active && self::is_active( $config['active_check'] ) ) { continue; } $upsells[ $id ] = self::build_upsell( $config ); } return $upsells; } /** * Get upsell entries for all inactive addons across every category. * * @return array */ public static function get_all_upsells() { $upsells = array(); foreach ( self::get_registry() as $id => $config ) { if ( self::is_active( $config['active_check'] ) ) { continue; } $upsell = self::build_upsell( $config ); $upsell['category'] = $config['category']; $upsells[ $id ] = $upsell; } return $upsells; } }