/
home
/
faureele
/
cars
/
wp-content
/
plugins
/
email-encoder-bundle
/
config
/
Upload File
HOME
<?php if ( ! defined( 'ABSPATH' ) ) exit; return [ 'protect' => [ 'fieldset' => [ 'slug' => 'main', 'label' => 'Label' ], 'id' => 'protect', 'type' => 'multi-input', 'input-type' => 'radio', 'title' => __( 'Protection mode', 'email-encoder-bundle' ), 'inputs' => [ 1 => [ 'label' => __( 'Full protection', 'email-encoder-bundle' ), 'icon' => 'shield', 'description' => __( 'Recommended. Scans every page on your site and protects every email address it finds.', 'email-encoder-bundle' ) ], 2 => [ 'label' => __( 'Standard protection', 'email-encoder-bundle' ), 'icon' => 'shield-alt', 'description' => __( 'Lighter option that only secures emails passed through WordPress filter hooks. May miss emails in custom templates or third-party plugins.', 'email-encoder-bundle' ), 'advanced' => true, ], 3 => [ 'label' => __( 'Off', 'email-encoder-bundle' ), 'icon' => 'shield-off', 'description' => __( 'Disables email protection entirely. Not recommended — your emails will be exposed to spam bots.', 'email-encoder-bundle' ) ], ], 'required' => false ], 'protect_using' => [ 'fieldset' => [ 'slug' => 'main', 'label' => 'Label' ], 'id' => 'protect_using', 'type' => 'multi-input', 'input-type' => 'radio', 'title' => __( 'Protection method', 'email-encoder-bundle' ), 'inputs' => [ 'with_javascript' => [ 'label' => __( 'Automatic', 'email-encoder-bundle' ), 'icon' => 'yes-alt', 'description' => __( 'Recommended. Picks the strongest method available, using JavaScript so visitors still see the email address.', 'email-encoder-bundle' ) ], 'without_javascript' => [ 'label' => __( 'Automatic (no JavaScript)', 'email-encoder-bundle' ), 'icon' => 'lock', 'description' => __( 'Picks the strongest method that works without JavaScript. Slightly weaker but more compatible with older browsers.', 'email-encoder-bundle' ), ], 'strong_method' => [ 'label' => __( 'Hide entirely', 'email-encoder-bundle' ), 'icon' => 'hidden', 'description' => __( 'Replaces every email address with the protection text. Visitors won\'t see the actual address — useful for hiding emails completely from page content.', 'email-encoder-bundle' ) ], 'char_encode' => [ 'label' => __( 'Basic', 'email-encoder-bundle' ), 'icon' => 'editor-code', 'description' => __( 'Simple HTML character encoding. Lightweight and works without JavaScript, but easier for advanced spam bots to bypass.', 'email-encoder-bundle' ) ], ], 'required' => false ], 'filter_body' => [ 'fieldset' => [ 'slug' => 'main', 'label' => 'Label' ], 'id' => 'filter_body', 'type' => 'multi-input', 'input-type' => 'checkbox', 'advanced' => true, 'title' => __( 'Protect...', 'email-encoder-bundle' ), 'label' => __( 'Customize what this plugin protects.', 'email-encoder-bundle' ), 'inputs' => [ 'filter_rss' => [ 'advanced' => true, 'label' => __( 'RSS feed', 'email-encoder-bundle' ), 'description' => __( 'Activating this option results in protecting the rss feed based on the given protection method.', 'email-encoder-bundle' ) ], 'ajax_requests' => [ 'advanced' => true, 'label' => __( 'Ajax requests', 'email-encoder-bundle' ), 'description' => __( 'By default, ajax requests can send clear emails in some situations. Activating this settings will apply encoding to ajax-relate requests.', 'email-encoder-bundle' ) ], 'admin_requests' => [ 'advanced' => true, 'label' => __( 'Admin requests', 'email-encoder-bundle' ), 'description' => __( 'By default, we only protect frontend requests (Everything people see on your website). Activating this setting will also protect the backend of your website (The admin area).', 'email-encoder-bundle' ) ], 'remove_shortcodes_rss' => [ 'advanced' => true, 'label' => __( 'Remove all shortcodes from the RSS feeds', 'email-encoder-bundle' ), 'description' => __( 'Activating this option results in protecting the rss feed based on the given protection method.', 'email-encoder-bundle' ) ], 'input_strong_protection' => [ 'advanced' => true, 'label' => __( 'Input form email fields using strong protection', 'email-encoder-bundle' ), 'description' => __( 'Warning: this option could conflict with certain form plugins. Test it first. (Requires javascript)', 'email-encoder-bundle' ) ], 'encode_mailtos' => [ 'advanced' => true, 'label' => __( 'Plain emails by converting them to mailto links', 'email-encoder-bundle' ), 'description' => __( 'Plain emails will be automatically converted to mailto links where possible.', 'email-encoder-bundle' ) ], 'convert_plain_to_image' => [ 'advanced' => true, 'label' => __( 'Plain emails by converting them to PNG images', 'email-encoder-bundle' ), 'description' => __( 'Plain emails will be automatically converted to PNG images where possible.', 'email-encoder-bundle' ) ], 'protect_shortcode_tags' => [ 'advanced' => true, 'label' => __( 'Shortcode content', 'email-encoder-bundle' ), 'description' => __( 'Protect every shortcode content separately. (This may slow down your site)', 'email-encoder-bundle' ) ], 'filter_hook' => [ 'advanced' => true, 'label' => __( 'Emails from "init" hook', 'email-encoder-bundle' ), 'description' => __( 'Check this option if you want to register the email filters on the "init" hook instead of the "wp" hook.', 'email-encoder-bundle' ) ], 'deactivate_rtl' => [ 'advanced' => true, 'label' => __( 'Mailto links without CSS direction', 'email-encoder-bundle' ), 'description' => __( 'Check this option if your site does not support CSS directions.', 'email-encoder-bundle' ) ], 'no_script_tags' => [ 'advanced' => true, 'label' => __( 'No script tags', 'email-encoder-bundle' ), 'description' => __( 'Check this option if you face issues with encoded script tags. This will deactivate protection for script tags.', 'email-encoder-bundle' ) ], 'no_attribute_validation' => [ 'advanced' => true, 'label' => __( 'HTML attributes without soft encoding', 'email-encoder-bundle' ), 'description' => __( 'Do not soft-filter all HTML attributes. This might optimize performance, but can break the site if other plugins use your email in attribute tags.', 'email-encoder-bundle' ) ], ], 'required' => false, ], 'image_settings' => [ 'fieldset' => [ 'slug' => 'main', 'label' => 'Label' ], 'id' => 'image_settings', 'type' => 'multi-input', 'input-type' => 'text', 'advanced' => true, 'title' => __( 'Image settings', 'email-encoder-bundle' ), 'label' => __( 'Customize the settings for dynamically created images.', 'email-encoder-bundle' ), 'inputs' => [ 'image_color' => [ 'advanced' => true, 'label' => __( 'Image Colors', 'email-encoder-bundle' ), 'placeholder' => '0,0,0', 'description' => __( 'Please include RGB colors, comme saparated. E.g.: 0,0,255', 'email-encoder-bundle' ) ], 'image_background_color' => [ 'advanced' => true, 'label' => __( 'Image Background Colors', 'email-encoder-bundle' ), 'placeholder' => '255,255,255', 'description' => __( 'Please include RGB colors, comme saparated. E.g.: 0,0,255', 'email-encoder-bundle' ) ], 'image_text_opacity' => [ 'advanced' => true, 'label' => __( 'Text Opacity', 'email-encoder-bundle' ), 'placeholder' => '0', 'description' => __( 'Change the text opacity for the created images. 0 = not transparent - 127 = completely transprent', 'email-encoder-bundle' ) ], 'image_background_opacity' => [ 'advanced' => true, 'label' => __( 'Background Opacity', 'email-encoder-bundle' ), 'placeholder' => '127', 'description' => __( 'Change the background opacity for the created images. 0 = not transparent - 127 = completely transprent', 'email-encoder-bundle' ) ], 'image_font_size' => [ 'advanced' => true, 'label' => __( 'Font Size', 'email-encoder-bundle' ), 'placeholder' => '4', 'description' => __( 'Change the font size of the image text. Default: 4 - You can choose from 1 - 5', 'email-encoder-bundle' ) ], 'image_underline' => [ 'advanced' => true, 'label' => __( 'Text Underline', 'email-encoder-bundle' ), 'placeholder' => '1', 'description' => __( 'Adds a line beneath the text to highlight it as a link. empty or 0 deactivates the border. 1 = 1px', 'email-encoder-bundle' ) ], ], 'required' => false, ], 'skip_posts' => [ 'fieldset' => [ 'slug' => 'main', 'label' => 'Label' ], 'id' => 'skip_posts', 'type' => 'text', 'advanced' => true, 'title' => __('Exclude post id\'s from protection', 'email-encoder-bundle'), 'placeholder' => '123,456,789', 'required' => false, 'description' => __('By comma separating post id\'s ( e.g. 123,4535,643), you are able to exclude these posts from the logic protection.', 'email-encoder-bundle') ], 'skip_query_parameters' => [ 'fieldset' => [ 'slug' => 'main', 'label' => 'Label' ], 'id' => 'skip_query_parameters', 'type' => 'text', 'advanced' => true, 'title' => __('Exclude URL parameters from protection', 'email-encoder-bundle'), 'placeholder' => 'param1,param2', 'required' => false, 'description' => __('By comma separating URL (Query) parameters ( e.g. param1,param2), you are able to exclude URLs with these parameters from the protection. URL or Query parameters are found at the end of your URL (e.g. domain.com?param1=test)', 'email-encoder-bundle') ], 'protection_text' => [ 'fieldset' => [ 'slug' => 'main', 'label' => 'Label' ], 'id' => 'protection_text', 'type' => 'text', 'advanced' => true, 'title' => __('Set protection text *', 'email-encoder-bundle'), 'placeholder' => __( '*protected email*', 'email-encoder-bundle' ), 'required' => false, 'description' => __('This text will be shown for protected email addresses and within noscript tags.', 'email-encoder-bundle') ], 'class_name' => [ 'fieldset' => [ 'slug' => 'main', 'label' => 'Label' ], 'id' => 'class_name', 'type' => 'text', 'advanced' => true, 'title' => __('Additional classes', 'email-encoder-bundle'), 'label' => __('Add extra classes to mailto links.', 'email-encoder-bundle'), 'placeholder' => 'my-class another-class', 'required' => false, 'description' => __('Leave blank for none', 'email-encoder-bundle') ], 'custom_href_attr' => [ 'fieldset' => [ 'slug' => 'main', 'label' => 'Label' ], 'id' => 'custom_href_attr', 'type' => 'text', 'advanced' => true, 'title' => __('Protect custom href attributes', 'email-encoder-bundle'), 'label' => __('Protect href atrributes such as tel:, ftp:, file:, etc.', 'email-encoder-bundle'), 'placeholder' => 'tel,ftp,file', 'required' => false, 'description' => __('Add the href attributes you want to protect as a comme-separated list. E.g. tel,file,ftp', 'email-encoder-bundle') ], 'footer_scripts' => [ 'fieldset' => [ 'slug' => 'main', 'label' => 'Label' ], 'id' => 'footer_scripts', 'type' => 'checkbox', 'advanced' => true, 'title' => __('Load scripts in footer', 'email-encoder-bundle'), 'label' => __('Check this button if you want to load all frontend scripts within the footer.', 'email-encoder-bundle'), 'placeholder' => '', 'required' => false, 'description' => __('This forces every script to be enqueued within the footer.', 'email-encoder-bundle') ], 'show_encoded_check' => [ 'fieldset' => [ 'slug' => 'main', 'label' => 'Label' ], 'id' => 'show_encoded_check', 'type' => 'checkbox', 'title' => __('Security Check', 'email-encoder-bundle'), 'label' => __('Mark emails on the site as successfully encoded', 'email-encoder-bundle') . '<i class="dashicons-before dashicons-lock" style="color:green;"></i>', 'placeholder' => '', 'required' => false, 'description' => __('Only visible for admin users. If your emails look broken, simply deactivate this feature. This also loads the dashicons style.', 'email-encoder-bundle') ], 'own_admin_menu' => [ 'fieldset' => [ 'slug' => 'main', 'label' => 'Label' ], 'id' => 'own_admin_menu', 'type' => 'checkbox', 'advanced' => true, 'title' => __('Admin Menu', 'email-encoder-bundle'), 'label' => __('Show this page in the main menu item', 'email-encoder-bundle'), 'placeholder' => '', 'required' => false, 'description' => __('Otherwise it will be shown in "Settings"-menu.', 'email-encoder-bundle') ], 'advanced_settings' => [ 'fieldset' => [ 'slug' => 'main', 'label' => 'Label' ], 'id' => 'advanced_settings', 'type' => 'checkbox', 'title' => __('Advanced Settings', 'email-encoder-bundle'), 'label' => __('Show advanced settings for more configuration possibilities.', 'email-encoder-bundle'), 'placeholder' => '', 'required' => false, 'description' => __('Activate the advanced settings in case you want to customize the default logic or you want to troubleshoot the plugin.', 'email-encoder-bundle') ], ];