List of Hooks & Filters.

Home Forums Welcome! Pre-Sales Questions List of Hooks & Filters.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1064738
    Abby
    Participant

    Is there a way to find a list of the hooks & filters for your plugins?

    Also – perhaps a list of functions that aren’t deprecated (really tough to read through documentation now as it seems like 90+% are deprecated)

    Thanks!
    Abby

    #1064744
    George
    Participant

    Hey Abby,

    There is unfortunately not a list of hooks and filters because, as you found with the deprecated functions and such in our other documentation, there is just no better way to find all of the functions and filters and hooks than the actual code itself.

    What I mean is that, because code changes quite often, the best way to find hooks and filters within our plugins is to open the plugin files in your code editor of choice; and then just search for “do_action()” calls to find action hooks, and search for “apply_filters()” calls to find filters.

    As for functions that are not deprecated, I have similar advice here: the single best source is to head into the plugin files whose functions you’re curious about, and then inside this plugin navigate to src/functions/. This folder contains all template tags and advanced functions, and is the most up-to-date reference possible.

    I hope this information helps!

    Cheers,
    George

    #1079323
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘List of Hooks & Filters.’ is closed to new replies.