WordPress.org

Make WordPress Core

Opened 17 months ago

#19996 new enhancement

New function get_blog_metadata for ms-functions.php

Reported by: _DorsVenabili Owned by:
Priority: normal Milestone: Awaiting Review
Component: Multisite Version:
Severity: minor Keywords: has-patch
Cc: rocio@…

Description

Hi!

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.

Cheers! :)

Attachments (1)

get_blog_metadata.txt (738 bytes) - added by _DorsVenabili 17 months ago.
get_blog_metadata()

Download all attachments as: .zip

Change History (1)

_DorsVenabili17 months ago

get_blog_metadata()

Note: See TracTickets for help on using tickets.