pods framework – Can we create a WordPress read-only virtual field derived from three other fields?

Question

Our app has three different dates representing three key dates for a Project (one of our PODS CPTs). One of the common calculations we make is deriving an overall “Status” of the project from those three dates (based on the emptiness of one or two of those dates). We want to avoid the clunky solution of making a forth non-date field in which we repeat which status the project is right now, which would require extra work from content editors and have considerable risk of falling out of sync with the true dates. Is there any way we could crystalize this “Status” calculation into a read-only field that we could reference with code or with our FacetWP plugin?

0
Webdev Tory 5 months 2022-03-31T13:54:40-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse