WordPress: WPMU Global Variables:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
无编辑摘要
无编辑摘要
第1行: 第1行:
Global variables available in WPMU :
WPMU中的全局变数:
WPMU中的全局变数:
*''Object'' '''$current_blog'''
**''int'' blog_id
**''int'' site_id
**''string'' domain
**''string'' path
**''datetime'' registered
**''datetime'' last_updated
**''bool'' public
**''bool'' archived
**''bool'' mature
**''bool'' spam
**''bool'' deleted
**''int'' lang_id
*''Object'' '''$current_blog'''
*''Object'' '''$current_blog'''
**''int'' blog_id
**''int'' blog_id

2008年10月8日 (三) 17:45的版本

WPMU中的全局变数:

  • Object $current_blog
    • int blog_id
    • int site_id
    • string 域名
    • string路径
    • datetime已注册
    • datetime last_updated
    • bool public
    • bool 已归档
    • bool mature
    • bool 垃圾广告
    • bool 已删除
    • int lang_id