Opened 17 months ago
New function get_blog_metadata for ms-functions.php
|Reported by:||_DorsVenabili||Owned by:|
I think that the ms-functions are very useful for WP multisite developers, for example: get_blog_post where you can select the blog_id and post_id to return the post info of a blog.
But I'm missing an important one: get_blog_post_metadata. With the function that I'm proposing, you can select the blog_id, the post_id and the meta_key and the function will return the metadata for those values.
I have attached in the file get_blog_metadata.txt the function that I have made and I think it would be very useful to have it in the core.