Support » Plugins and Hacks » Use of the name of hook in a plugin

  • Resolved lbcd78

    (@lbcd78)


    I am developing a module resting on hooks present in the topics. To use the hook, I implement the function add_action (<nom_du_hook>, <fonction_proto>), and I developed a function “fonction_proto”. In this function proto, I need to know the name of the hook which initiated this function. I in vain test different synthaxes, I do not manage to obtain this value. Does somebody know if it is possible? Thank you by advance for any help

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Use of the name of hook in a plugin’ is closed to new replies.