• I’m not a developer, but get as far as I can with my projects anyway ??

    With that in mind– I made a lot of changes to the core files of EM, which of course were just overwritten when I updated the plugin. Which brings me to today’s task of learning about using hooks etc.

    Is there any documentation or forum posts you can point me to for learning about and using these? Please keep in mind that I know nothing about this yet (what files do I edit? where do they go? what is a hook, anyway) and appreciate any and all input, as do other newbies on these boards. Thanks!

    https://www.ads-software.com/plugins/events-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m no developer either, but just as you get as far as I can with my projects.

    So far I’ve figured out that hooks are ways to edit the standard behaviours in wordpress, with hooks you can ‘tap’ in to these functions and edit or add things to these functions. This can probably also be done with plugins, so you can edit or add the functions used in the plugins (but I’m just guessing here).

    I mostly place my hooks in the functions.php of the theme I’m using (mostly because I do my own themes).

    You can find a bit more info on hooks here: https://codex.www.ads-software.com/Plugin_API#Hooks.2C_Actions_and_Filters

    Thread Starter cowgirly

    (@cowgirly)

    Thanks the0and1! Anyone have links about using actions/filters with plugins, specifically? I’m searching but not finding much. Would love to do as much as I can without hiring a programmer…

    Thread Starter cowgirly

    (@cowgirly)

    Question: which Events Manager file do I add hooks to, so they won’t be overwritten?

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    there isn’t much documentation on using plugin hooks because basically it works exactly the same way. an action is fired in certain situations, filters allow you to modify values passed on in plugins.

    the method of calling a hook is the same.

    we don’t have a list of hooks atm unfortunately, you’ll need to dig into the plugin yourself and find them.

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