首页 WordPress函数大全 delete_blog_option()

delete_blog_option()

2020-05-01 / 2121阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

delete_blog_option( int $id, string $option )

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

描述

参数

$id

(int)
(Required)
A blog ID. Can be null to refer to the current blog.

$option

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

返回

(bool) True, if option is successfully deleted. False on failure.

大家谈论
    我的见解