Enum::THEME_CACTUS, 'display_color_main' => 'black', 'display_color_title' => 'black', 'display_color_background' => 'white', 'display_color_button' => '#22BAA0', 'display_color_secondary_button' => '#22BAA0', 'display_color_button_text' => 'white', 'display_color_pros' => '#22BAA0', 'display_color_cons' => '#E06470', 'primary_button_text' => 'Buy Now', 'secondary_button_text' => 'Our Review', 'lasso_affiliate_URL' => 'https://getlasso.co/', 'disclosure_text' => 'We earn a commission if you make a purchase, at no additional cost to you.', 'show_price' => true, 'show_disclosure' => true, 'enable_brag_mode' => true, 'badge_text' => '', // ? amazon 'auto_monetize_amazon' => true, 'amazon_access_key_id' => '', 'amazon_secret_key' => '', 'amazon_creators_credential_id' => '', 'amazon_creators_secret' => '', 'amazon_creators_version' => '', 'amazon_creators_partner_tag' => '', 'amazon_tracking_id' => '', 'amazon_default_tracking_country' => 'us', 'amazon_pricing_daily' => true, 'auto_upgrade_eligible_links' => true, // ? general 'license_serial' => '', 'general_disable_amazon_notifications' => false, 'general_disable_tooltip' => false, 'general_disable_notification' => false, 'general_enable_new_ui' => true, 'check_duplicate_link' => false, 'performance_event_tracking' => true, // ? url detail 'enable_nofollow' => true, 'open_new_tab' => true, 'enable_sponsored' => true, Enum::SUPPORT_ENABLED => false, Enum::IS_SUBSCRIBE => false, Enum::EMAIL_SUPPORT => '', Enum::CUSTOMER_FLOW_ENABLED => false, ); const LASSO_INTERCOM_APP_ID = 'az01idfr'; const JWT_SECRET_KEY = '6KpRcC60EgicHWhyEIqj'; const LASSO_LINK = 'https://lasso.link'; const SSL_VERIFY = true; const TIME_OUT = 30; const LASSO_AMAZON_PRODUCTS_DB = 'lasso_lite_amazon_products'; const LASSO_POST_TYPE = 'surl'; const LASSO_BRAND = 'Lasso'; const LASSO_AMAZON_PRODUCT_TYPE = 'Amazon Product'; const LASSO_CATEGORY = 'lasso-lite-cat'; const LASSO_PRO_POST_TYPE = 'lasso-urls'; const LASSO_OPTION_REVIEW_ALLOW = 'review_allow_notification'; const LASSO_OPTION_REVIEW_SNOOZE = 'review_snooze'; const LASSO_OPTION_REVIEW_LINK_COUNT = 'review_link_count'; const LASSO_OPTION_AMAZON_CREDENTIALS_NOTICE_DISMISSED = 'dismiss_amazon_credentials_update_notice'; /** Second dismiss; banner hides only when both dismiss flags are set. */ const LASSO_OPTION_AMAZON_CREDENTIALS_NOTICE_DISMISSED_FINAL = 'dismiss_amazon_credentials_update_notice_final'; const LASSO_OPTION_AMAZON_CREDENTIALS_UPDATED = 'updated_amazon_credentials_notice'; const LASSO_OPTION_AMAZON_CREATORS_VERIFIED_SIGNATURE = 'amazon_creators_verified_signature'; const LASSO_OPTION_DISMISS_PERFORMANCE_NOTICE = 'dismiss_performance_notice'; const LASSO_LITE_NONCE = 'simple-urls-nonce'; const LASSO_OPTION_AFFILIATE_PROMOTIONS = 'affiliate_promotions'; const LASSO_OPTION_DISMISS_PROMOTIONS = 'dismiss_aff_promotions_notice'; const LASSO_OPTION_IS_CONNECTED_AFFILIATE = 'is_connected_aff'; const LASSO_CHECKOUT_URL_DEFAULT = 'https://getlasso.co/upgrade/?utm_campaign=lite-upgrade&utm_source=lasso-lite&utm_medium=wordpress'; /** Option keys (not merged into lassolite_settings) for realtime click queue + secrets. */ const OPTION_REALTIME_CHANNEL_ID = 'lasso_lite_realtime_channel_id'; const OPTION_REALTIME_INGEST_SECRET = 'lasso_lite_realtime_ingest_secret'; const OPTION_REALTIME_CLICK_QUEUE = 'lasso_lite_realtime_click_queue'; /** Default Hub app URL; use {@see self::get_lasso_hub_url()} for the effective base URL. */ const LASSO_HUB_URL = 'https://app.getlasso.co'; const LASSO_ACCOUNT_EMAIL = 'lasso_account_email'; const LASSO_ACCOUNT_API_KEY = 'lasso_account_api_key'; const LASSO_ACCOUNT_USER_ID = 'lasso_account_user_id'; const BLOCK_CUSTOMIZE = array( 'single' => array( 'type' => 'single', 'name' => 'Single Product Displays', 'attributes' => array( array( 'name' => 'Product title', 'attr' => 'title', 'desc' => 'Override the product title.
Hide the product title by hide value.', ), array( 'name' => 'Title url', 'attr' => 'title_url', 'desc' => 'Customize the title link destination. Leave blank for the default.
Example: https://getlasso.co', ), array( 'name' => 'Title tag', 'attr' => 'title_type', 'desc' => 'Set the title tag. Common values are: H1, H2, H3, H4', ), array( 'name' => 'Product description', 'attr' => 'description', 'desc' => 'Override the product description
Hide the product description by hide value.', ), array( 'name' => 'Badge', 'attr' => 'badge', 'desc' => 'Override the display badge.
Hide the badge by hide value.', ), array( 'name' => 'Brag', 'attr' => 'brag', 'desc' => 'Promote Lasso on your display and earn money by true value.', ), array( 'name' => 'Show/Hide the price', 'attr' => 'price', ), array( 'name' => 'First button url', 'attr' => 'primary_url', 'desc' => 'Override the first button url.
Example: https://getlasso.co', ), array( 'name' => 'First button text', 'attr' => 'primary_text', 'desc' => 'Override the first button text.', ), array( 'name' => 'Image url', 'attr' => 'image_url', 'desc' => 'Override the image url.
Example: https://getlasso.co/lasso.png', ), array( 'name' => 'Anchor id', 'attr' => 'anchor_id', 'desc' => 'Override the anchor id.
Example: the-anchor-link-id', ), ), ), 'all_attributes' => array( 'title', 'title_url', 'title_type', 'description', 'badge', 'price', 'field', 'rating', 'theme', 'primary_url', 'primary_text', 'secondary_url', 'secondary_text', 'image_url', 'disclosure_text', 'button_type', 'columns', 'limit', 'bullets', 'compact', 'brag', 'anchor_id', ), 'toogle_attributes' => array( 'price', 'field', 'rating', ), 'notice' => 'For a detailed list of all customization options, visit our Shortcode Reference Guide.', ); /** * Hub base URL without trailing slash. Override via `LASSO_LITE_HUB_URL` (wp-config.php) or `lasso_lite_hub_url`. * * @return string */ public static function get_lasso_hub_url() { $url = self::LASSO_HUB_URL; if ( defined( 'LASSO_LITE_HUB_URL' ) && is_string( LASSO_LITE_HUB_URL ) && LASSO_LITE_HUB_URL !== '' ) { $url = LASSO_LITE_HUB_URL; } if ( function_exists( 'apply_filters' ) ) { $url = (string) apply_filters( 'lasso_lite_hub_url', $url ); } return rtrim( $url, '/' ); } } // Path for vanity JS served by the plugin and its source file location if ( ! defined( 'LASSO_SNIPPET_VANITY_PATH_LITE' ) ) { define( 'LASSO_SNIPPET_VANITY_PATH_LITE', '/js/snippet.min.js' ); } if ( ! defined( 'LASSO_CONNECT_SNIPPET_FILE_LITE' ) ) { define( 'LASSO_CONNECT_SNIPPET_FILE_LITE', SIMPLE_URLS_PLUGIN_PATH . '/admin/assets/js/connect-snippet.min.js' ); }