You appear to be a bot. Output may be restricted
Description
Set the local URLs for all the blogs in the WPMS network
Usage
oik_locurl_multisite( $locurl );
Parameters
- $locurl
- ( string ) required –
Returns
voidTO DO
Complete this code update_blog_details( $id, $data ) We need to obtain the domain and Sample entry in wp_blogs table and the site's wp_options tablesite_id | domain | path | wp_n_options siteurl |
---|---|---|---|
1 | qw | /wpms/ | http://qw/wpms |
2 | qw | /wpms/site2/ | http://qw/wpms/site-2 |
Source
File name: oik-batch/oik-locurl.phpLines:
1 to 4 of 4
function oik_locurl_multisite( $locurl ) { echo "@TODO WPMS update. Meanwhile please use wp-admin/network/site-info.php" . PHP_EOL; gob(); }View on GitHub