modX.unsetPlaceholders
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
$301 per month—let's make that $500!
Learn moremodX::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.');
See Also¶
- modX.unsetPlaceholder
- modX.setPlaceholder
- modX.setPlaceholders
- modX.toPlaceholder
- modX.toPlaceholders
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
$301 per month—let's make that $500!
Learn more