Question:I’m running a query on users and want to include only users who have meta data (page_history) with a specific value. The problem I’m having is that the meta data is an object, and I can’t seem to get the query to check the value of the object:
Answer:This meta object will be serialized before being stored in the database column. The post-type field after serialization will be like that in DB
You can use LIKE compare to filter it.
16to the custom post type name count.
If you have better answer, please add a comment about this, thank you!