Skip to content

Instantly share code, notes, and snippets.

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