Adding hooks for custom actions
-
Hi,
It will be great if you could add action hooks on status change (from working to broken and vice versa)
For example:
do_acion( 'blc_link_status_changed' , $field_name, $post_id, $old_status, $new_status)
This way developers can hook to these events and add custom actions. For example, when a link is broken mark its containing ACF field as broken automatically (which will hide it from visitors), and if the link is later fixed, unmark it.
I hope the request is clear enough. Let me know if it isn’t.
Thanks,
Asaf
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Adding hooks for custom actions’ is closed to new replies.