modX.regClientStartupHTMLBlock
Last updated Dec 21st, 2019 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$290 per month—let's make that $500!
Learn moremodX::regClientStartupHTMLBlock¶
Register HTML to be injected before the closing HEAD tag.
Syntax¶
API Doc: modX::regClientStartupHTMLBlock()
void regClientStartupHTMLBlock (string $html)
Example¶
Render a faux tag element before the end of the HEAD.
$modx->regClientStartupHTMLBlock('<tag></tag>');