WPDev.one
Core Function
View Source on Trac ↗

delete_site_option()

delete_site_option( mixed $option )

Removes an option by name for the current network.

Parameters 1 required

Name / Type Description
$option
string

Name of the option to delete. Expected to not be SQL-escaped.

Required

Return Value

(bool)
True if the option was deleted, false otherwise.

Function Information

Since Version
2.8.0
Source File
wp-includes/option.php
Advertisement