EasyWatermark\Placeholders\Abstracts\Placeholder
and should implement the following methods:resolve
- returning the value of the placeholdervalidate
- checking if the value is correctsanitize
- sanitizing the valuevalidate
and sanitize
methods for a given value type:EasyWatermark\Placeholders\Abstracts\EmailPlaceholder
EasyWatermark\Placeholders\Abstracts\IntegerPlaceholder
EasyWatermark\Placeholders\Abstracts\StringPlaceholder
EasyWatermark\Placeholders\Abstracts\UrlPlaceholder
%favorite_color%
string in the watermark text with the value of a favorite_color
meta for logged-in user.