Last active
March 7, 2019 02:19
-
-
Save cobaltapps/b44a4b18a4540cdc832ba25ce16c478d to your computer and use it in GitHub Desktop.
Learning To Code In PHP: The basic add_action function.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use this if working with Genesis | |
//add_action( 'genesis_before', 'my_function_that_does_stuff' ); | |
// Use this if working with BB Theme | |
//add_action( 'fl_body_open', 'my_function_that_does_stuff' ); | |
function my_function_that_does_stuff() { | |
echo 'Hello World!'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment