Last active
June 18, 2022 10:26
-
-
Save Codevz/547ec77b6b2e134cde8e17b7433f401f to your computer and use it in GitHub Desktop.
XTRA WP Theme - Action hook for adding content before header top bar, 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 header top bar. | |
| */ | |
| function my_prefix_before_header_top_bar() { | |
| echo 'This is a custom content text.'; | |
| } | |
| add_action( 'codevz/before_header_1', 'my_prefix_before_header_top_bar' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment