Creating Hook
-
Hi there.
I apologize if this is a ridiculous question, but being that I am a very novice dev, especially with WP, I’m not sure what to do with “hooks”.
I have added the hook info into the functions.php of the theme, commenting out the IPN values I don’t care about.
I have changed the top of the code to the following:
add_action(‘pbs_ipn_setup’, ‘pbs_ipn’, 10, 1);
function pbs_ipn($posted) {Is this correct, and if so, how do I invoke it to get the values?
Thanks in advance
- The topic ‘Creating Hook’ is closed to new replies.