get_details example

case 'network_id':
                return (int) $this->site_id;
            case 'blogname':
            case 'siteurl':
            case 'post_count':
            case 'home':
            default: // Custom properties added by 'site_details' filter.                 if ( ! did_action( 'ms_loaded' ) ) {
                    return null;
                }

                $details = $this->get_details();
                if ( isset( $details->$key ) ) {
                    return $details->$key;
                }
        }

        return null;
    }

    /** * Isset-er. * * Allows current multisite naming conventions when checking for properties. * Checks for extended site properties. * * @since 4.6.0 * * @param string $key Property to check if set. * @return bool Whether the property is set. */
Home | Imprint | This part of the site doesn't use cookies.