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