—- plugin —-
description: Add date related placeholders
author : phplist
email : email@example.com
lastupdate : 2015/06/25 16:03
compatible : 3.0 or later
bugtracker : https://github.com/michield/phplist-plugin-dateplaceholder/issues
sourcerepo : https://github.com/michield/phplist-plugin-dateplaceholder
Add placeholders that relate to dates.
You can use formatting like the “date” command in PHP (see https://php.net/date)
The general format for a placeholder is:
where PLACEHOLDER can be one of:
and FORMAT can be any format allowed by the date command in PHP
Some common Formats:
You can also set the default format in the phpList settings. It will appear in the General settings.
When you have a default format, you can leave FORMAT empty and just use eg.
The replacement works both in the body of a campaign and the subject of the campaign.
Once the campaign has finished sending the dates will be fixed, when the campaign is archived. When you re-queue the campaign, the placeholder will no longer exist. You can bypass this behaviour in the settings.
This requires phpList 3.2.4 or later.
This plugin will add the option to define a default date format in the settings.
It will also add an option in category archive that when set will bypass the final fixing of the dates when the campaign has been sent.
(eg NEXTYEAR, LASTYEAR).