首页 WordPress函数大全 delete_network_option()

delete_network_option()

2020-05-01 / 2903阅 / 悠然

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

delete_network_option( int $network_id, string $option )

Removes a network option by name.

描述

See also See also

  • delete_option()

Top ↑

参数

$network_id

(int)
(Required)
ID of the network. Can be null to default to the current network ID.

$option

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

返回

(bool) True, if succeed. False, if failure.

大家谈论
    我的见解