pods icon indicating copy to clipboard operation
pods copied to clipboard

Enhance user magictag

Open JoryHogeveen opened this issue 10 months ago • 2 comments

Description

Currently the {@user.##} magic tag is quite limited to the WP_User object only. This won't properly support multiple metedata values and also doesn't consider the a possible User Pod. This PR fixes this by fixing two things:

  • pods_v() > Proper order of getting user properties or metadata
  • pods_evaluate_tag() > If a user Pod exists, it will run the tag through this Pod first.

Related GitHub issue(s)

Fixes #7150

Changelog text for these changes

PR checklist

JoryHogeveen avatar Sep 04 '23 12:09 JoryHogeveen