*_network_option() functions to mirror *_blog_option() functions in core
Created by: johnjamesjacoby
This will require #1 (closed) to be fixed first.
We should have the following CRUD functions for site options:
get_network_option( $network_id, $key, $default = false )
add_network_option( $network_id, $key, $value )
update_network_option( $network_id, $key, $value )
delete_network_option( $network_id, $key, $value )
Imported comments:
By rmccue on 2014-09-11 02:47:06 UTC
This could also allow "super" settings across all networks, if you do something crazy like get_network_option( 0, 'supersetting' )
. We already use the 0th network to store sites in holding (given ENABLE_NETWORK_ZERO
), so it could work.
By rmccue on 2014-12-08 07:10:11 UTC
@johnjamesjacoby Any progress on this front? :)