What can add_action hook too?
-
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?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘What can add_action hook too?’ is closed to new replies.