Title: action hook to fire external function
Last modified: December 16, 2022

---

# action hook to fire external function

 *  Resolved [WP-Henne](https://wordpress.org/support/users/wp-henne/)
 * (@wp-henne)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/action-hook-to-fire-external-function/)
 * Hello!
 * I would like to use an action hook that is triggered when an event is detected(
   and logged) by Wordfence.
 * Technically, the time period of the logfile entry would be perfect, i.e. when
   I see an event in the live traffic, for example.
 * Is such an interface available? If not, at which point could I intervene myself?
 * Thanks & greetings

Viewing 1 replies (of 1 total)

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/action-hook-to-fire-external-function/#post-16302910)
 * Hi [@wp-henne](https://wordpress.org/support/users/wp-henne/), thanks for your
   message.
 * At the moment, we only provide documentation for hooking into `importSettings()`
   and `whitelistIP()`: [https://www.wordfence.com/help/advanced/wordfence-api/](https://www.wordfence.com/help/advanced/wordfence-api/)
 * Other developers have no doubt written custom solutions to operations they’d 
   like to hook into and may have documented or blogged about them. However, we’re
   unable to provide any support for custom code because our own future plugin updates
   may cause some to break and we don’t have the resources to follow-up on potential
   fixes. You may be able to achieve what you’re trying to do without directly using
   Wordfence functions and going straight to the database, or looking at other changes
   in your server’s log files.
 * If you wish to highlight your precise use-case and data requirements, I can at
   least compile a feature request as we do discuss all submissions internally. 
   If we have the detailed information, we may be able to offer some general advice
   on a direction to take.
 * Thanks,
   Peter.

Viewing 1 replies (of 1 total)

The topic ‘action hook to fire external function’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [action hook](https://wordpress.org/support/topic-tag/action-hook/)
 * [Filter Hook](https://wordpress.org/support/topic-tag/filter-hook/)

 * 1 reply
 * 2 participants
 * Last reply from: [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/action-hook-to-fire-external-function/#post-16302910)
 * Status: resolved