Clear empty tokens

Created on 4 August 2015, over 9 years ago
Updated 23 March 2023, over 1 year ago

A token such as [current-page:query:myquery] displays the token if no value is set.

'clear' => TRUE can be used with token_replace to prevent this.

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom Rob.S

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024