ARForms Blog

arf_current_autoresponse_set_outside

Last Updated On February 23, 2018

Usage:


add_filter('arf_current_autoresponse_set_outside', 'your_function', 10, 2);
function your_function($active, $data){

$opt-in_data = @maybe_unserialize(isset($data[0]['OPT-IN']) ? $data[0]['OPT-IN'] : '' );
if (isset($opt-in_data['enable']) && $opt-in_data['enable'] == 1) {
$active = 'OPT-IN';
}
return $active;

}





Parameters:




$active

Active Opt-in.




$data

Opt-ins API data.



Comments are closed.

© 2019 Repute InfoSystems - All Rights Reserved. Our Other Products ARMember and ARPrice Plugin

Subscribe To Our Newsletter For
Best Monthly Offers & Discounts!

Be a part of our subscription and stay updated with the latest deals we offer.
Subscribe Me!
No Thanks!
close-link