[wp-trac] [WordPress Trac] #40180: Introduce `get_site_by()` function for multisite
WordPress Trac
noreply at wordpress.org
Fri Mar 17 18:29:02 UTC 2017
#40180: Introduce `get_site_by()` function for multisite
--------------------------------+------------------------
Reporter: flixos90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.8
Component: Networks and Sites | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses: multisite
--------------------------------+------------------------
Comment (by stephdau):
This will also have to be considered:
{{{
foreach ( get_site( 52723464 ) as $key => $value ) { echo "$key, "; }
blog_id, domain, path, site_id, registered, last_updated, public,
archived, mature, spam, deleted, lang_id, ds_blog, ds_stats,
foreach ( get_blog_details( 52723464 ) as $key => $value ) { echo "$key,
"; }
blog_id, domain, path, site_id, registered, last_updated, public,
archived, mature, spam, deleted, lang_id, ds_blog, ds_stats, blogname,
siteurl, post_count, home,
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40180#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list