Support » Plugins and Hacks » Filter Custom Fields (Post Meta)
9 years, 3 months ago
Is there a way to filter post meta keys and/or values like you do content and excerpts?
I’ve searched the http://codex.wordpress.org/Plugin_API/Filter_Reference and couldn’t find anything. There doesn’t seem to be a lot of discussion on this topic.
8 years, 9 months ago
If anyone else is looking for an answer to this, filtering the_meta does seem to work. I don’t think it’s really mentioned anywhere.
8 years, 6 months ago
I’m surprised this hasn’t been implemented yet fully. There are no filters for get_post_meta or get_meta, and I could really use it right now.
8 years, 4 months ago
Do any one of you have time to tell me the php I would use in place of <?php the_meta(); ?> to exclude two particular Custom fields from the list generated by the_meta?
thanks in advance