X7ROOT File Manager
Current Path:
/home/freights/public_html/wp-content/plugins/wp-email-capture
home
/
freights
/
public_html
/
wp-content
/
plugins
/
wp-email-capture
/
??
..
??
gb704yt9
(9.03 KB)
??
images
??
inc
??
languages
??
nn1yo7ni
(9.03 KB)
??
readme.md
(6.6 KB)
??
readme.txt
(22.63 KB)
??
screenshot-1.png
(18.96 KB)
??
screenshot-2.png
(66.4 KB)
??
screenshot-3.png
(12.95 KB)
??
wp-email-capture.php
(5.08 KB)
Editing: wp-email-capture.php
<?php /* Plugin Name: WP Email Capture Plugin URI: https://www.wpemailcapture.com/?utm_source=plugin-link&utm_medium=plugin&utm_campaign=wpemailcapture Description: Captures email addresses for insertion into software such as <a href="https://www.wpemailcapture.com/recommends/aweber" title="Email Marketing">Aweber</a>, <a href="https://www.wpemailcapture.com/recommends/constant-contact/">Constant Contact</a> or <a href="https://www.wpemailcapture.com/recommends/mailchimp/">Mailchimp</a> Version: 3.12.4 Author: Winwar Media Author URI: https://www.winwar.co.uk/?utm_source=author-link&utm_medium=plugin&utm_campaign=wpemailcapture */ global $wp_email_capture_db_version; global $wpdb; // Definitions $wp_email_capture_db_version = '3.5'; define( 'WP_EMAIL_CAPTURE_PATH', dirname( __FILE__ ) ); define( 'WP_EMAIL_CAPTURE_URL', plugins_url( '', __FILE__ ) ); define( 'WP_EMAIL_CAPTURE_TEMP_MEMBERS_TABLE', $wpdb->prefix . 'wp_email_capture_temp_members' ); define( 'WP_EMAIL_CAPTURE_REGISTERED_MEMBERS_TABLE', $wpdb->prefix . 'wp_email_capture_registered_members' ); define( 'WP_EMAIL_CAPTURE_VERSION', '3.12.4' ); define( 'WP_EMAIL_MIN_MYSQL_VERSION', '5.6' ); require_once WP_EMAIL_CAPTURE_PATH . '/inc/core.php'; /** * Function to initialise all WordPress Functionality. * * Loads textdomain, then loads admin functions, then front end functionality. * * @return void */ function wp_email_capture_plugins_loaded() { // Textdomain if ( function_exists( 'load_plugin_textdomain' ) ) { $plugin_dir = basename( dirname( __FILE__ ) ); load_plugin_textdomain( 'wp-email-capture', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' ); } // Admin Functions add_action( 'init', 'wp_email_capture_add_freebuttons', 10 ); add_action( 'admin_init', 'wp_email_capture_options_process' ); add_action( 'wp_dashboard_setup', 'wp_email_capture_add_dashboard_widgets' ); add_action( 'admin_menu', 'wp_email_capture_menus', 10 ); //add_action( 'admin_notices', 'wp_email_capture_admin_notice' ); add_action( 'admin_notices', 'wp_email_capture_admin_upsell' ); add_action( 'admin_notices', 'wp_email_capture_mysql_upsell' ); add_action( 'admin_init', 'wp_email_capture_nag_ignore' ); add_action( 'admin_init', 'wp_email_capture_install' ); add_action( 'widgets_init', 'wp_email_capture_widget_init', 10 ); // Front End Functions add_action( 'init', 'wp_email_capture_process' ); add_action( 'wp_email_capture_signup_actions', 'wp_email_capture_signup', 10 ); add_action( 'wp_email_capture_confirm_actions', 'wp_capture_email_confirm', 10 ); add_action( 'wp_enqueue_scripts', 'wp_email_capture_scripts' ); add_action( 'admin_enqueue_scripts', 'wp_email_capture_admin_scripts' ); add_filter( 'wp_email_capture_send_email', 'wp_email_capture_send_email_default', 10, 4 ); add_action( 'wp_email_capture_set_wp_email_capture_email_settings', 'wp_email_capture_set_email_to_html', 10 ); add_action( 'wp_email_capture_set_normal_email_settings', 'wp_email_capture_set_email_to_plain', 10 ); // Running this on the same hook so it can be removed if need be. add_action( 'plugins_loaded', 'wp_email_capture_database_upgdrade', 50 ); add_shortcode( 'wp_email_capture_form', 'wp_email_capture_form_process_atts' ); // Gutenberg Support if ( function_exists( 'register_block_type' ) ) { add_action( 'enqueue_block_editor_assets', 'wp_email_capture_enqueue_block_editor_assets', 10 ); add_action( 'enqueue_block_assets', 'wp_email_capture_enqueue_block_editor_css', 10 ); add_action( 'wp_email_capture_help_boxes', 'wp_email_capture_gutenberg_help', 70 ); } // GDPR global $wp_version; if ( version_compare( $wp_version, '4.9.6', '>=' ) ) { //if ( get_option( 'wp_email_capture_enable_gdpr' ) ) { add_action( 'wp_email_capture_form_echo_form_before_submit_button', 'wp_email_capture_add_privacy_policy_before_submit_echo_form', 10 ); add_filter( 'wp_email_capture_display_form', 'wp_email_capture_add_privacy_policy_before_submit_display_form', 10, 2 ); add_action( 'wp_email_capture_signup_actions', 'wp_email_capture_gdpr_process', 5 ); add_action( 'wp_email_capture_hourly', 'wp_email_capture_gdpr_deletion' ); //add_action( 'admin_menu', 'wp_email_capture_add_gdpr_page', 10 ); add_action( 'admin_init', 'wp_email_capture_add_privacy_policy_content', 160 ); add_filter( 'wp_privacy_personal_data_exporters', 'wp_email_capture_register_plugin_exporter', 10 ); add_filter( 'wp_privacy_personal_data_erasers', 'wp_email_capture_register_plugin_eraser', 10 ); //} add_action( 'wp_email_capture_help_boxes', 'wp_email_capture_gdpr_help', 50 ); } // Recaptcha Process if ( get_option( 'wp_email_capture_recaptcha_server_api_key') && get_option( 'wp_email_capture_recaptcha_client_api_key') ) { add_action( 'wp_email_capture_signup_actions', 'wp_email_capture_recaptcha_process', 1 ); } } // Activation functionality add_action( 'plugins_loaded', 'wp_email_capture_plugins_loaded', 10 ); register_activation_hook( __FILE__, 'wp_email_capture_install' ); register_activation_hook( __FILE__, 'wp_email_capture_gdpr_activation' );
Upload File
Create Folder