首页 WordPress函数大全 get_blog_count()

get_blog_count()

2020-05-01 / 1664阅 / 悠然

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

get_blog_count( int|null $network_id = null )

The number of active sites>

Contents

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

描述

The count is cached and updated twice daily. This is not a live count.

参数

$network_id

(int|null)
(Optional)
ID of the network. Default is the current network.

Default value: null

返回

(int) Number of active sites on the network.

大家谈论
    我的见解