add_blog_option Wordpress function


Description:

Add a new option for a given blog id.


Syntax:


Arguments:

(int) $id A blog ID. Can be null to refer to the current blog.
(string) $option Name of option to add. Expected to not be SQL-escaped.
(mixed) $value Optional. Option value, can be anything. Expected to not be SQL-escaped.


Return Type:

(bool) False if option was not added and true if option was added.


Define At:

wp-includes/ms-blogs.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/add_blog_option


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×