• I was looking for one, but I couldn’t find a hook to this. Searched through all the filter hooks available also.

    I think it may be a good addition to filters 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • WPUser111

    (@wordpressuser111)

    I am having the same problem, I have been trying to make my own, I have had no luck. I also have been asking around. No replies yet 🙁

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    What are you trying to hook it into for?

    We are in a situation at work where we have many Custom Post Types which are storing multiple languages of data in the post meta.

    We want to be able to query what language we are in, as well as check if the translation exists or pass back the original english.

    get_post_meta() seems like the best place to do this check and pass back what is appropriate. While we could build our own new function to filter the request prior to calling get_post_meta(), we would prefer not to. Also, most WP calls that involved retrieving data already have this filtering capability so it would be a matter of consistency.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Okay, three people in one topic with different needs is too much 🙂 Guys, make your OWN. Each of your requests is going to be different.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Feature Request: Hook Filter for get_post_meta’ is closed to new replies.