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 564 to 572

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 4th October 2022 11:05 Europe/London time based on the source file dated 29th September 2022 18:05 Europe/London time.