Created
March 19, 2019 07:06
-
-
Save mhmohon/d8efdd30672845672f4af8c12463c996 to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
do_action( 'before_my_loop' ); //create the hooks | |
add_action( 'before_my_loop', 'add_comment_before_loop', 10 ); | |
function add_comment_before_loop() | |
{ | |
echo "<b>Welcome to my blog</b>"; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment