Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* correct way to add to an action hook or filter*/
- function digthis_hello_world(){
- echo 'hello';
- };
- add_action('digthis', 'digthis_hello_world');
- do_action('digthis');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement