Get list of all existing meta keys

I’m using Custom Fields in my post type and I’m looking for a way to get a list of all existing meta keys.

I know I can get all meta keys for a specific post with get_post_meta() but I need all existing keys site-wise.

I guess I could query straight into the WordPress database and get them, but I was wondering if there is a built-in function for it instead.

Read more here:: Get list of all existing meta keys

Leave a Reply

Your email address will not be published. Required fields are marked *