Hooks

Read here: How to add PHP hooks in your WordPress Site in my blog