When looking through WordPress snippets/tutorials/plugins I often see add_action() and add_filter() being placed before the function is declared: add_action( 'publish_post', 'email_friends' ); function ...
-
April 9, 2022
- 0 Comments