modX.regClientCSS

Skip to end of metadata
Go to start of metadata


modX::regClientCSS

Register CSS to be injected inside the HEAD tag of a resource.

Syntax

API Doc: http://api.modxcms.com/modx/modX.html#regClientCSS

void regClientCSS (string $src)

Example

Register a CSS file to the HEAD tag:

$modx->regClientCSS('assets/css/style.css');

See Also

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.