首页 WordPress函数大全 get_network_option()

get_network_option()

2020-05-01 / 2486阅 / 悠然

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

get_network_option( int $network_id, string $option, mixed $default = false )

Retrieves a network’s option value based>

Contents

  • Description
    • See also
    • Parameters
    • Return
    • Source
    • Changelog
  • Related
    • Uses
    • Used By
  • User Contributed Notes

描述

See also See also

  • get_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 retrieve. Expected to not be SQL-escaped.

$default

(mixed)
(Optional)
Value to return if the option doesn't exist.

Default value: false

返回

(mixed) Value set for the option.

大家谈论
    我的见解