How to exclude logging of custom fields changes from the WordPress activity log

Search Knowledge Base by Keyword

You are here:

By default, WP Activity Log records automated and manual Custom Fields changes for posts and users alike. However, it is possible to exclude the logging of either a specific Custom Field or a group of Custom Fields. When you exclude a Custom Field from the WordPress activity log, the plugin will not record any changes to that Custom Field in the WordPress audit trail.

How to exclude a specific custom field from the WordPress activity log

There are two ways that you can use to exclude a specific Custom Field. The first option is to exclude it by clicking the option Exclude Custom Field from Monitoring in the event reporting the Custom Field change. The option is highlighted in the below screenshot.

Excluding a Specific Custom Field from WP Activity Log

Alternatively, you can exclude a Custom Field by navigating to the plugin’s Settings and clicking on the Exclude Objects tab. Here, you can specify the custom field you would like to exclude in the Exclude custom post fields or Exclude custom user fields fields, as shown in the screenshot below. Once you specify the name, click Add followed by Save Changes to save the plugin settings.

Exclude custom post and user field changes

Exclude Custom Field Monitoring

If you want to exclude all Custom Field changes from the WordPress Audit Trail, you should disable the activity log events that report WordPress Custom Field Changes.