X7ROOT File Manager
Current Path:
/home/freights/public_html/wp-content/plugins/wp-email-capture/inc
home
/
freights
/
public_html
/
wp-content
/
plugins
/
wp-email-capture
/
inc
/
??
..
??
admin-sidebar.php
(8.53 KB)
??
core.php
(1.17 KB)
??
css
??
dashboard.php
(2.54 KB)
??
deprecated
??
display.php
(6.75 KB)
??
enqueue.php
(2.73 KB)
??
exportcsv.php
(1.23 KB)
??
functions.php
(13.13 KB)
??
gdpr.php
(11.25 KB)
??
gutenberg.php
(651 B)
??
help.php
(10.94 KB)
??
img
??
install.php
(1.72 KB)
??
js
??
options.php
(44.95 KB)
??
process.php
(10.78 KB)
??
security.php
(1.05 KB)
??
tabledata.php
(3.49 KB)
??
tempdata.php
(970 B)
??
tinymce.php
(1.1 KB)
??
tracking.php
(5.12 KB)
??
widget.php
(2.28 KB)
Editing: enqueue.php
<?php /** * Enqueue stylesheets associated with the plugin. * @return void */ function wp_email_capture_scripts() { /* Register our stylesheet. */ wp_enqueue_style('wpemailcapturestyles', WP_EMAIL_CAPTURE_URL . '/inc/css/wp-email-capture-styles.css', array(), WP_EMAIL_CAPTURE_VERSION); if (1 == get_option('wp_email_capture_default_styling')) { /* Register our default stylesheet. */ wp_enqueue_style('wpemailcapturedefaultstyles', WP_EMAIL_CAPTURE_URL . '/inc/css/wp-email-capture-default-styles.css', array(), WP_EMAIL_CAPTURE_VERSION); } /* if ( 'disable' != get_option( 'wp_email_capture_recaptcha_api_type' ) && get_option( 'wp_email_capture_recaptcha_api_type' ) ) { wp_enqueue_script( 'wpec-recaptcha-v2', 'https://www.google.com/recaptcha/api.js', array() ); } if ( 'invisible' == get_option( 'wp_email_capture_recaptcha_api_type' ) ) { wp_enqueue_script( 'wpec-recaptcha-v2', WP_EMAIL_CAPTURE_URL . '/inc/js/enqueue-invisible.js', array( 'wpec-recaptcha-v2' ), WP_EMAIL_CAPTURE_VERSION ); } */ if (get_option('wp_email_capture_recaptcha_server_api_key') && get_option('wp_email_capture_recaptcha_client_api_key')) { wp_enqueue_script('wpec-recaptcha-v3', 'https://www.google.com/recaptcha/api.js?render=' . get_option('wp_email_capture_recaptcha_client_api_key'), array()); wp_register_script('wpec-recaptcha-handling', WP_EMAIL_CAPTURE_URL . '/inc/js/recaptcha-handling.js', array('wpec-recaptcha-v3', 'jquery'), WP_EMAIL_CAPTURE_VERSION); wp_localize_script( 'wpec-recaptcha-handling', 'wpec_recaptcha_object', array( 'client_side_key' => get_option('wp_email_capture_recaptcha_client_api_key'), ) ); wp_enqueue_script('wpec-recaptcha-handling'); } } /** * Enqueue stylesheets associated with the plugin. * @return void */ function wp_email_capture_admin_scripts($hook) { /* Register our stylesheet. */ if ('capture_page_wpemailcapturefreesettings' == $hook || 'toplevel_page_wpemailcapture' == $hook || 'capture_page_wpemailcapturefreehelp' == $hook || 'index.php' == $hook || strpos( $hook, 'wpemailcapture' ) != false || strpos( $hook, 'wp-email-capture' ) != false ) { wp_enqueue_script('wpemailcaptureadminjs', WP_EMAIL_CAPTURE_URL . '/inc/js/admin-custom.js', array('jquery'), WP_EMAIL_CAPTURE_VERSION); wp_enqueue_style('wpemailcapturestyles', WP_EMAIL_CAPTURE_URL . '/inc/css/wp-email-capture-admin-styles.css', array(), WP_EMAIL_CAPTURE_VERSION); } }
Upload File
Create Folder