Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

unsubscribe_user_from_periodic_report()

Parameters

ColumnTypeDefaultDescription
$user_id
$periodic_email_id

Location

include/reporting_functions.php lines 607 to 615

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 21st May 2024 21:35 Europe/London time based on the source file dated 8th May 2024 18:45 Europe/London time.