Automattic / vip-decoupled-bundle

WordPress VIP decoupled plugin bundle
29 stars 5 forks source link

Preview: allow using the `post_id` when filtering token lifetime and expiration #67

Closed renatonascalves closed 1 year ago

renatonascalves commented 1 year ago

With the post id, one can add custom logic per post type or per post meta.

Scenario: a client might have a unique post type or post with a specific post meta that the token should have a longer or shorter lifespan.

renatonascalves commented 1 year ago

It seems there is an unrelated issue with the github action. Happy to resolve as part of this pull request, if needed.

ingeniumed commented 1 year ago

No worries @renatonascalves, we can fix it up in another PR. This PR is good to merge, and doesn't need to be blocked. Thanks for adding this in!