src/Codeception/Module/WPDb.php
public function dontHaveSiteOptionInDatabase($key, $value = null)
    {
        $currentBlogId = $this->blogId;
        $this->useMainBlog();
        $this->dontHaveOptionInDatabase('_site_option_' . $key, $value);
        $this->useBlog($currentBlogId);
    }
public function dontHaveSiteOptionInDatabase($key, $value = null)
    {
        $currentBlogId = $this->blogId;
        $this->useMainBlog();
        $this->dontHaveOptionInDatabase('_site_option_' . $key, $value);
        $this->useBlog($currentBlogId);
    }
public function dontHaveSiteOptionInDatabase ( $ key , $ value = null ) { $ currentBlogId = $ this -> blogId ; $ this -> useMainBlog ( ) ; $ this -> dontHaveOptionInDatabase ( '_site_option_' . $ key , $ value ) ; $ this -> useBlog ( $ currentBlogId ) ; }
Removes a site option from the database.

@example
```php
// Remove the `foo_count` option.
$I->dontHaveSiteOptionInDatabase('foo_count');
// Remove the `foo_count` option only if its value is `23`.
$I->dontHaveSiteOptionInDatabase('foo_count', 23);
```

@param string $key The option name.
@param null|mixed $value If set the option will only be removed it its value matches the specified one.
Removes a site option from the database .