Last active
June 18, 2022 10:29
-
-
Save Codevz/3cc04ddbcfa981277970b60e2b49c5d2 to your computer and use it in GitHub Desktop.
XTRA WP Theme - Action hook for adding content before site header, https://xtratheme.com/
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
| <?php | |
| /** | |
| * With this function you can add any content or php codes before website header. | |
| */ | |
| function my_prefix_before_header() { | |
| echo 'This is a custom content text.'; | |
| } | |
| add_action( 'codevz/before_header', 'my_prefix_before_header' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment