Support » Plugin: WP Activity Log » Can we add customized hook when activity happens

  • Q1: Whenever there is a change, besides adding the activity log in the database, at the same time, can I use the log data to send a HTTP post curl.

    Q2: is there restful APIs to use to get the log information?

    • This topic was modified 1 month, 1 week ago by charlesnaa.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor robertabela


    Hello @charlesnaa

    I am sorry but at the moment we do not have such filter. Here is the complete list of hooks in the plugin.

    What are need is definitely something many others might need, so we will add such a hook for sure. Can you please give us more information on what you have in mind / what is the end result? I’d like to better understand your setup to see where exactly should the hook be.

    Looking forward to hearing from you.

    Thread Starter charlesnaa


    @robert681 Thank you so much for your information! The hooks in the plugin is very helpful, what I try to do is that I want to make some change in wsal_event_data_before_log hook. Every time the log is written in the database, I want to use some of the information of log and send the customized log to an audit service.

    1. I wonder, is this a legal way to use your plugin?
    2. If I update the plugin, will the code added in the hook be deleted?
    3. If the plugin can provide some functions, such as customizing log and provide interface to add hook, that will be perfectly solve my problems.

    Plugin Contributor robertabela


    Hello @charlesnaa

    Sorry for taking long to get back to you. It’s been a hectic week – we are preparing the next update of the plugin.

    To answer your questions:

    1. It is definitely legal to use the plugin that way. I don’t see why not. Do you have any concerns?

    2. What do you mean by “updating the plugin”? Do you mean you’ll be editing the code directly in the plugin files? If that is the case that is not recommended since those changes will be automatically overwritten with every update.

    3. Can you please elaborate a bit more on what exactly do you need?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.