Skip to content

Instantly share code, notes, and snippets.

@Codevz
Last active June 18, 2022 10:22
Show Gist options
  • Save Codevz/b68a6e75d062574190d86cefb501a909 to your computer and use it in GitHub Desktop.
Save Codevz/b68a6e75d062574190d86cefb501a909 to your computer and use it in GitHub Desktop.
XTRA WP Theme - Action hook for adding content after mobile header, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes after mobile header.
*/
function my_prefix_after_mobile_header() {
echo 'This is a custom content text.';
}
add_action( 'codevz/after_header_4', 'my_prefix_after_mobile_header' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment