PDC Expiration Date
Make a PDC item expire after a certain date
by Yard Internet · github.com/openwebconcept/plugin-pdc-expiration-date · website
★ 0stars
658composer installs
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/openwebconcept/plugin-pdc-expiration-date/archive/refs/heads/master.zipAlso on Packagist as plugin/pdc-expiration-date:
composer require plugin/pdc-expiration-dateFrom the readme
README #
The expiration date plugin adds the option to make a PDC item expire after certain date. Expired items will not be shown on the default PDC items endpoint.
Expired items can be retrieved from the endpoint owc/pwc/v1/items/expired.
How do I get set up? ###
Unzip and/or move all files to the /wp-content/plugins/pdc-expiration-date directory
Log into WordPress admin and activate the ‘PDC Internal’ plugin through the ‘Plugins’ menu
Filters & Actions
There are various hooks, which allows for changing the output.
Action for changing main Plugin object.
Translations ###
If you want to use your own set of labels/names/descriptions and so on you can do so.
All text output in this plugin is controlled via the gettext methods.
Please use your preferred way to make your own translations from the /wp-content/plugins/pdc-base/languages/pdc-base.pot file
Be careful not to put the translation files in a location which can be overwritten by a subsequent update of the plugin, theme or WordPress core.
We recommend using the 'Loco Translate' plugin.
https://wordpress.org/plugins/loco-translate/
This plugin provides an easy interface for custom translations and a way to
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v1.0.8 | Mar 13, 2025 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.