Created
December 7, 2022 01:51
-
-
Save aguilar1181/98dbb7847faba48b866765a2d379c26b to your computer and use it in GitHub Desktop.
It adds an element righ after the <body> openning tag using Bricks builder own action.
This file contains 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 | |
/** | |
* It adds an element righ after the <body> openning tag | |
* using Bricks builder own action. | |
*/ | |
add_action( 'bricks_body', 'my_body_open_tag', 0 ); | |
function my_body_open_tag() { | |
echo 'my own tag here'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment