Jump to main content Jump to doc navigation

modX::regClientStartupHTMLBlock

Register HTML to be injected before the closing HEAD tag.

Syntax

API Doc: http://api.modx.com/revolution/2.2/db_core_model_modx_modx.class.html#%5CmodX::regClientStartupHTMLBlock()

void regClientStartupHTMLBlock (string $html)

Example

Render a faux tag element before the end of the HEAD.

$modx->regClientStartupHTMLBlock('<tag></tag>');

See Also