How to Add Filter and Action Hooks when developing Plugins