Fork me on GitHub

pnModCallHooks - How to use it?  Bottom

  • In my occasional quest to understand the concept of hooks, since I think they may be the route I want to go, I need some clarification. Which is the better pnModCallHooks to use when the function is create_cat:

    Code

    pnModCallHooks('item', 'create', $cid, 'cid');


    Or

    Code

    pnModCallHooks('item', 'create_cat', $cid, 'cid');


    I guess I'm just not totally clear on the function and what it can do for me. (Big surprise. Me, confused. That never happens. :P) I did a quick google search but came up with nothing much useful. (It was a quick search, though. Coulda missed something.)

This list is based on users active over the last 60 minutes.