rcp_update_membership()

Updates an existing membership record.

Requires RCP version 3.0 or later.

Parameters:

  • $membership_id (int) - ID of the membership to update.
  • $args (array) - Array of arguments. See rcp_add_membership() for a list of supported arguments.

Return values:

  • (bool) - True on success, false on failure.