Collections functions
General functions
Render functions
Theme permission functions
Resource functions

unsubscribe_user_from_periodic_report()

Parameters

ColumnTypeDefaultDescription
$user_id
$periodic_email_id

Location

include/reporting_functions.php lines 561 to 569

Definition

 
function unsubscribe_user_from_periodic_report($user_id$periodic_email_id)
    {
    
$query 'INSERT INTO report_periodic_emails_unsubscribe 
                  (user_id, periodic_email_id)
                 VALUES (?, ?)'
;
    
ps_query($query, array("i",$user_id"i",$periodic_email_id));

    return 
true;
    }

This article was last updated 31st January 2023 10:05 Europe/London time based on the source file dated 23rd January 2023 14:45 Europe/London time.