WP Security Audit Log addon for Paid Memberships Pro
This plugin Extends the plugin WP Security Audit Log to log events from the Paid Memberships Pro plugin. This plugin also includes some audit logs alerts to track changes to User Meta values. Actions / Hooks Supported in the plugin This plugin currently supports the following actions. User Meta Acti
This plugin Extends the plugin WP Security Audit Log to log events from the Paid Memberships Pro plugin. This plugin also includes some audit logs alerts to track changes to User Meta values.
Actions / Hooks Supported in the plugin
This plugin currently supports the following actions.
User Meta Actions:
- added_user_meta – logs alert whenever a Meta Field is created for user account.
- update_user_meta – Saves current value of a Meta Field so we can see what changes.
- updated_user_meta – logs alert with Value of Meta Field that changed.
- deleted_user_meta – logs event when a User Meta Field is deleted for a user account.
Actions that are related to Paid Memberships Pro (PMPro) plugin:
PMPro creates what it calls an “order” everytime a payment is made on an account. This includes the initial payment and recurring or subscription payments. PMPro provides several actions to allow us to log creation and changes of these orders/payments.
- pmpro_added_order – logs an event when a PMPro Order for a membership payment is created.
- pmpro_delete_order – logs an event when a PMPro Order for a membership payment is deleted.
- pmpro_update_order – saved information about a PMPro Order for a membership payment to see what changes.
- pmpro_updated_order – logs an event when a PMPro Order for a membership payment with information that was changed.
When a user either joins a PMPro defined membership level or the account is cancelled or changed to another level, we can use the following actions to try to see what was changed and who changed the account.
- pmpro_before_change_membership_level – saves information about an user that is about to change or cancel current PMPro membership level
- pmpro_after_change_membership_level ‘ – logs event that details changes in membership levels for a user. Could be upgrade or canceling PMPro membership.