Forums
-
- Forum
- Posts
-
- Installation
- 28,255
- Troubleshooting
- 61,767
- Themes
- 10,301
- Plugins
- 15,220
- Requests & Feedback
- 14,817
- Showcase
- 3,252
-
You should use hooks to make it automatically call your function when that hook is called – the syntax is something like add_action('hook name', 'function name')
if I recall correctly. Look at existing plugins for details of how to do it.
There isn’t a reference for hooks that I’m aware of, sorry.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS