Description
Update the Contact's status
Usage
oiksp_update_status( $post_id, $status );Parameters
- $post_id
- ( ID ) required – the post ID of the "oik_contact"
- $status
- ( string ) required – the new status Note: We don't check the original status When setting a status to "double" it will change from "unconfirmed" The only other status update we might consider is "unsubscribed"
Returns
voidSource
File name: oik-squeeze/shortcodes/oik-squeeze.phpLines:
1 to 4 of 4
function oiksp_update_status( $post_id, $status ) { update_post_meta( $post_id, "_oiksp_status", $status ); return( true ); }View on GitHub
Called by
1 to 2 of 2
