platform-coop-toolkit / coop-library-framework

Custom Post Type utilities for the Platform Co-op Resource Library.
https://platform.coop
Other
0 stars 2 forks source link

Add/update publication date on save #150

Closed greatislander closed 5 years ago

greatislander commented 5 years ago

Description

In order to sort resources by date, it's helpful to have a consolidated publication date metadata field that's not editable directly but is updated with concatenated year/month/date values.

Steps to test

  1. Add/edit resource publication date values.

Expected behavior: Verify that the lc_resource_publication_date metadata value is updated alongside any changes that you make. (E.g. run wp post meta get <ID> lc_resource_publication_date and compare values.)

Additional information

Not applicable.

Related issues