When using add_action, you have to insert a hook name. Can this name be any PHP function that’s defined and called or what are the guidelines?
The documentation says: hook_name is the name of an action hook provided by WordPress, that tells what event your function should be associated with.
If I can’t use any php function name I created, how can I add the name to think action hook name list or what not?
- The topic ‘What can add_action hook too?’ is closed to new replies.