• Marcus Downing

    (@marcusdowning)


    It would be extremely helpful if the Attachments plugin was scattered with filters and actions that help other parts of a site interact with it.

    For example, I’d like to attach a filter to the attachments_get_attachments method that would return the attachments for a parent post if the current post has none.

    http://wordpress.org/extend/plugins/attachments/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jon Christopher

    (@jchristopher)

    Hi Marcus, adding filters and actions has been on the roadmap for some time. They’ll likely be added to the Pro version first unless someone else would like to contribute the code on GitHub https://github.com/jchristopher/attachments

    Thread Starter Marcus Downing

    (@marcusdowning)

    Thanks, I will 🙂

    I’ve submitted a pull request from marcusatbang/attachments. You should of course test before trusting me.

    Plugin Author Jon Christopher

    (@jchristopher)

    Awesome, that’s great. I’m going to review ASAP but it likely will take a couple of weeks as I’m quite overbooked until then. Thank you again.

    Thread Starter Marcus Downing

    (@marcusdowning)

    Okay, in your own time. As long as the next version you release doesn’t remove them (and overwrite my local copy when I update), which would probably confuse and annoy me. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Attachments] Filters and actions’ is closed to new replies.