rcp_add_member_note()

Note: This is part of the developer docs and is considered custom code.
Unfortunately, we cannot provide support for custom code at this time as we do not have the additional resources that would be necessary to provide support for custom code. 

If you need assistance with this, please reach out to our list of consultants for further assistance:
https://codeable.io/developers/restrict-content-pro/

This function has been deprecated. Use RCP_Membership->add_note() or RCP_Customer->add_note() instead.

Inserts a new note for a given user. The current time is automatically prepended to the note, so you don't need to add that yourself.

Parameters:

  • $user_id (int) - The ID of the user to add a note for.
  • $note (string) - The note you wish to add to the user.

Example usage:

rcp_add_member_note( $user_id, __( 'Expiration notice was emailed to the member.', 'rcp' ) );

Powered by Zendesk