首页 WordPress函数大全 delete_user_setting()

delete_user_setting()

2020-05-01 / 5392阅 / 悠然

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

delete_user_setting( string $names )

Deletes user interface settings.

描述

Deleting settings would reset them to the defaults.

This function has to be used before any output has started as it calls setcookie().

参数

$names

(string)
(Required)
The name or array of names of the setting to be deleted.

返回

(bool|null) True if deleted successfully, false if not. Null if the current user can't be established.

大家谈论
    我的见解