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