Forked from cobaltapps/my-function-that-does-stuff.php
Created
March 7, 2019 02:19
-
-
Save DalavanCloud/aa02bcc682bc30c5a346f1a2f77b0eea 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