modX.unsetPlaceholders
Last updated not available | Page history | Improve this page | Report an issue
modX::unsetPlaceholders¶
Unset multiple placeholders, either by prefix or an array of keys.
Syntax¶
API Doc: modX::unsetPlaceholders()
void unsetPlaceholders (string|array $keys)
Example¶
Unset the 'my.name' and 'my.email' Placeholders.
$modx->unsetPlaceholders(array('my.name','my.email'));
Unset all Placeholders that are prefixed with 'my.'
$modx->unsetPlaceholders('my.');