delete_blog_option()删除wp_option表中的选项记录(多站点)

目录

描述

Removes option by name for a given blog id. Prevents removal of protected WordPress options.

delete_blog_option() 描述

用法

<?php delete_blog_option$id$option ?>

delete_blog_option() 用法

参数

$id

(integer) (必填) A blog ID. Can be null to refer to the current blog.

默认值: current blog ID

$option

(string) (必填) Name of option to remove. Expected to not be SQL-escaped.

默认值: None

delete_blog_option() 参数

历史

添加于 版本: 3.0.0

delete_blog_option() 历史