blog_option_(option) filter-hook . WP 3.5.0
Filters a blog option value.
The dynamic portion of the hook name, $option, refers to the blog option name.
Usage
add_filter( 'blog_option_(option)', 'filter_function_name_8570', 10, 2 ); function filter_function_name_8570( $value, $id ){ // filter... return $value; }
- $value(string)
- The option value.
- $id(int)
- Blog ID.
Changelog
Since 3.5.0 | Introduced. |
Where the hook is called
blog_option_(option)
wp-includes/ms-blogs.php 381
return apply_filters( "blog_option_{$option}", $value, $id );