首页 WordPress函数大全 delete_option()

delete_option()

2020-05-01 / 2252阅 / 悠然

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

delete_option( string $option )

Removes option by name. Prevents removal of protected WordPress options.

描述

参数

$option

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

返回

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

大家谈论
    我的见解