• Resolved asafm7

    (@asafm7)


    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)
  • Thread Starter asafm7

    (@asafm7)

    Even better will be adding the result code (404, 503, etc.)

    Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hello @asafm7,

    We have sent this to the Broken link checker team to check the same and scope it up and also check if there could be a quick fix to that. If not, we would push it to the feature suggestion list. Once the same is done it would be tasked up for development but I’m afraid I would not be able to provide you with an ETA on when the same would be released. You can keep an eye on the plugin updates for the same. We would update you once we hear back from the team on it.

    Thank you,
    Prathamesh Palve

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello @asafm7

    An improvement task has been added for our developers, so they can add more action hooks in a future update. ??

    Take care,
    Dimitris

    Thread Starter asafm7

    (@asafm7)

    Great!

    Thank you ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding hooks for custom actions’ is closed to new replies.