Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/ninja-fo.../includes/Config
File: DashboardPromotions.php
<?php
[0] Fix | Delete
[1] Fix | Delete
return apply_filters(
[2] Fix | Delete
'ninja-forms-dashboard-promotions',
[3] Fix | Delete
array(
[4] Fix | Delete
[5] Fix | Delete
/*
[6] Fix | Delete
|--------------------------------------------------------------------------
[7] Fix | Delete
| Send WP
[8] Fix | Delete
|--------------------------------------------------------------------------
[9] Fix | Delete
|
[10] Fix | Delete
*/
[11] Fix | Delete
[12] Fix | Delete
'sendwp-banner' => array(
[13] Fix | Delete
'id' => 'sendwp-banner',
[14] Fix | Delete
'location' => 'dashboard',
[15] Fix | Delete
'content' => '<span aria-label="SendWP. Getting WordPress email into an inbox shouldn\'t be that hard! Never miss another receipt, form submission, or any WordPress email ever again." style="cursor:pointer;width:800px;height:83px;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;background-image:url(\'' . NF_PLUGIN_URL . 'assets/img/promotions/dashboard-banner-sendwp.png\');display:block;"></span>',
[16] Fix | Delete
'type' => 'sendwp',
[17] Fix | Delete
'script' => "
[18] Fix | Delete
setTimeout(function(){ /* Wait for services to init. */
[19] Fix | Delete
var data = {
[20] Fix | Delete
width: 450,
[21] Fix | Delete
closeOnClick: 'body',
[22] Fix | Delete
closeOnEsc: true,
[23] Fix | Delete
content: '<p><h2>Frustrated that WordPress email isn’t being received?</h2><p>Form submission notifications not hitting your inbox? Some of your visitors getting form feedback via email, others not? By default, your WordPress site sends emails through your web host, which can be unreliable. Your host has spent lots of time and money optimizing to serve your pages, not send your emails.</p><h3>Sign up for SendWP today, and never deal with WordPress email issues again!</h3><p>SendWP is an email service that removes your web host from the email equation.</p><ul style=&quot;list-style-type:initial;margin-left: 20px;&quot;><li>Sends email through dedicated email service, increasing email deliverability.</li><li>Keeps form submission emails out of spam by using a trusted email provider.</li><li>On a shared web host? Don’t worry about emails being rejected because of blocked IP addresses.</li><li><strong>$1 for the first month. $9/month after. Cancel anytime!</strong></li></ul></p><br />',
[24] Fix | Delete
btnPrimary: {
[25] Fix | Delete
text: 'Sign me up!',
[26] Fix | Delete
callback: function() {
[27] Fix | Delete
var spinner = document.createElement('span');
[28] Fix | Delete
spinner.classList.add('dashicons', 'dashicons-update', 'dashicons-update-spin');
[29] Fix | Delete
var w = this.offsetWidth;
[30] Fix | Delete
this.innerHTML = spinner.outerHTML;
[31] Fix | Delete
this.style.width = w+'px';
[32] Fix | Delete
ninja_forms_sendwp_remote_install();
[33] Fix | Delete
}
[34] Fix | Delete
},
[35] Fix | Delete
btnSecondary: {
[36] Fix | Delete
text: 'Cancel',
[37] Fix | Delete
callback: function() {
[38] Fix | Delete
sendwpModal.toggleModal(false);
[39] Fix | Delete
}
[40] Fix | Delete
}
[41] Fix | Delete
}
[42] Fix | Delete
var sendwpModal = new NinjaModal(data);
[43] Fix | Delete
}, 500);
[44] Fix | Delete
"
[45] Fix | Delete
),
[46] Fix | Delete
)
[47] Fix | Delete
);
[48] Fix | Delete
[49] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function