nt|null $network_id ID of the network. Can be null to default to the current network ID. * @param string $option Na                                                            и╟╦Oи     Optional. Value to return if the option doesn't exist. Default false. * @return mixed Value set for the option. */ function get_network_option( $network_id, $option, $default_value = false ) { global $wpdb; if ( $networ                                                            8╟╦Oи    ┤o&эЇ╜┌Р2╕A// Fallback to the current network if a network ID is not specified. if ( ! $network_id ) { $network_id = get_current_network_id(); } /** * Filters the value of an existing network option before it is retrieved. *                                                         Ш_╗A    K8$╘ чА└впA    j^Rь╔НУxЗ╕Athe filter will short-circuit retrieval * and return that value instead. * * @since 2.9.0 As 'pre_site_option_' . $key * @since 3.0.0 * @since 4.4.0 The `$option` parameter was added                                                            И╚╦Oи     parameter was added. * * @param mixed $pre_site_option The value to return instead of the option value. This differs from * `$default_value`, which is used as the fallback value in the e                                                            ╚╦Oи    РЄ?ЪШБЕШ_╗A(). * Default false (to skip past the short-circuit). * @param string $option Option name. * @param int $network_id ID of the network. * @param mixed $default_value                                                         Ш_╗A    K8$╘ чА└впA    j^Rь╔НУxЗ╕Afilters( "pre_site_option_{$option}", false, $option, $network_id, $default_value ); /** * Filters the value of any existing network option before it is retrieved. * * Returning a valu                                                            h╔╦Oи     d. * * @since 6.9.0 * * @param mixed $pre_option The value to return instead of the network option value. This differs * from `$default_value`, which is used as the fallback value i                                                            °╚╦Oи    РЄ?ЪШБЕШ_╗Aption(). * Default false (to skip past the short-circuit). * @param string $option Name of the option. * @param int $network_id ID of the network. * @param mixed $default_va                                                        h┐A    K8$╘ чА└впA    j^Rь╔НУxЗ╕Ay_filters( 'pre_site_option', $pre, $option, $network_id, $default_value ); if ( false !== $pre ) { return $pre; } // Prevent non-existent options from triggering multiple queries. $no                                                            H╩╦Oи     -options' ); if ( is_array( $notoptions ) && isset( $notoptions[ $option ] ) ) { /** * Filters the value of a specific default network option. * * The dynamic portion of the hook name, `$option`, refers to the                                                             ╪╔╦Oи    chG╔┐_w╧h┐Aince 4.7.0 The `$network_id` parameter was added. * * @param mixed $default_value The value to return if the site option does not exist * in the database. * @param string $option                                                         ╪g╟A    K8$╘ чА└впA    j^Rь╔НУxЗ╕An}", $default_value, $option, $network_id ); } if ( ! is_multisite() ) { /** This filter is documented in wp-includes/option.php */ $default_value = apply_filters( 'default_site_option_                                                    hrJи     (╦╦Oи     'content' => $image['height'], ], ]; } if ( $image['alt'] ) { yield "og:image:alt:$i" => [ 'attributes' => [ 'property' => 'og:image:alt', 'content' => $image['alt'], ], ]; } ++$i; } } /** * @since 5.0.0 * @generator */ public static function generate_article_published_time() { $time = Meta\Open_Graph::get_article_published_time(); if ( $time ) yield 'article:published_time' => [ 'attributes' => [ 'property' => 'article:published_time', 'content' => $time, ], ]; } /** * @since 5.0.0 * @generator */ public static function generate_article_modified_time() { $time = Meta\Open_Graph::get_article_modified_time(); if ( $time ) yield 'article:modified_time' => [ 'attributes' => [ 'property' => 'article:modified_time', 'content' => $time, ], ]; } }