Documentation

gwp_date_updated

The gwp_date_updated Merge Tag returns a modified date time relative to the date time when the entry was last updated in the desired format.

Options

Examples

{gwp_date_updated modify="first day of next month" format="d-m-Y"}

When the entry is updated on 2021-03-30 12:21:23 this returns ’01-04-2021′


{gwp_date_updated format="d/m/Y\ \a\t\ H:i:s"}

When the entry is updated on 2021-03-30 12:21:23 this returns ’30-03-2021 at 12:21:23′

Last updated: 30-10-2021

Advanced Merge Tagsv1.4

To use the functionalities described in this documentation, you'll need to get the GravityWP - Advanced Merge Tags add-on.

Read more