[wp-trac] [WordPress Trac] #49948: Site Meta: Adding additional useful functions
WordPress Trac
noreply at wordpress.org
Sat Apr 18 15:01:53 UTC 2020
#49948: Site Meta: Adding additional useful functions
--------------------------------+-----------------------------
Reporter: mikeyhoward1977 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version: trunk
Severity: minor | Keywords: needs-testing
Focuses: multisite |
--------------------------------+-----------------------------
There are useful functions for post meta such as `get_post_custom()`,
`get_post_custom_keys()` and `get_post_custom_values()`.
These functions do not exist for site meta but they would be useful. I've
added `get_site_custom()`, `get_site_custom_keys()` and
`get_site_custom_values()` to ms-site.php and created a PR to the GitHub
repo.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49948>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list