wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



delete_site_option › WordPress Function

Depuis2.8.0
Dépréciéen/a
delete_site_option ( $option )
Paramètres:
  • (string) $option Name of the option to delete. Expected to not be SQL-escaped.
    Requis: Oui
Voir:
Retourne:
  • (bool) True if the option was deleted, false otherwise.
Défini(e) dans:
Codex:
Changelog:
  • 4.4.0

Removes an option by name for the current network.



Source

function delete_site_option( $option ) {
	return delete_network_option( null, $option );
}