WIKI使用導(dǎo)航
站長(zhǎng)百科導(dǎo)航
站長(zhǎng)專題
- 網(wǎng)站推廣
- 網(wǎng)站程序
- 網(wǎng)站賺錢(qián)
- 虛擬主機(jī)
- cPanel
- 網(wǎng)址導(dǎo)航專題
- 云計(jì)算
- 微博營(yíng)銷
- 虛擬主機(jī)管理系統(tǒng)
- 開(kāi)放平臺(tái)
- WIKI程序與應(yīng)用
- 美國(guó)十大主機(jī)
WordPress: WPMU Functions/get blog option:修訂間差異
來(lái)自站長(zhǎng)百科
(新頁(yè)面: Returns data on a specific blog (pulls from the wp_#_options table). You can get the following items: siteurl blogname blogdescription wp_#_user_roles users_can_register a...) ? |
無(wú)編輯摘要 ? |
||
第1行: | 第1行: | ||
Returns data on a specific blog (pulls from the wp_#_options table). | Returns data on a specific blog (pulls from the wp_#_options table). | ||
返回某個(gè)博客的數(shù)據(jù)(來(lái)自wp_#_options表格)。 | |||
You can get the following items: | You can get the following items: | ||
你會(huì)得到以下的內(nèi)容: | |||
? siteurl | |||
? blogname | |||
? blogdescription | |||
? wp_#_user_roles | |||
? users_can_register | |||
? admin_email | |||
? start_of_week | |||
? use_balanceTags | |||
? use_smilies | |||
? require_name_email | |||
? comments_notify | |||
? posts_per_rss | |||
? rss_excerpt_length | |||
? rss_use_excerpt | |||
? mailserver_url | |||
? mailserver_login | |||
? mailserver_pass | |||
? mailserver_port | |||
? default_category | |||
? default_comment_status | |||
? default_ping_status | |||
? default_pingback_flag | |||
? default_post_edit_rows | |||
? posts_per_page | |||
? what_to_show | |||
? date_format | |||
? time_format | |||
? links_updated_date_format | |||
? links_recently_updated_prepend | |||
? links_recently_updated_append | |||
?? siteurl | ?? siteurl | ||
第35行: | 第75行: | ||
==Usage== | ==Usage== | ||
==用法== | |||
To get the blog name, you would use the following: | To get the blog name, you would use the following: | ||
你應(yīng)該使用下面的內(nèi)容,得到博客名稱: | |||
? get_blog_option($blogId,'blogname') | |||
?? get_blog_option($blogId,'blogname') | ?? get_blog_option($blogId,'blogname') | ||
第43行: | 第89行: | ||
Return to [[WordPress:WPMU_Functions]] | Return to [[WordPress:WPMU_Functions]] | ||
---- | |||
返回到 [[WordPress:WPMU_Functions| WPMU_Functions]] |
2008年9月26日 (五) 14:56的最新版本
Returns data on a specific blog (pulls from the wp_#_options table).
返回某個(gè)博客的數(shù)據(jù)(來(lái)自wp_#_options表格)。
You can get the following items:
你會(huì)得到以下的內(nèi)容:
siteurl blogname blogdescription wp_#_user_roles users_can_register admin_email start_of_week use_balanceTags use_smilies require_name_email comments_notify posts_per_rss rss_excerpt_length rss_use_excerpt mailserver_url mailserver_login mailserver_pass mailserver_port default_category default_comment_status default_ping_status default_pingback_flag default_post_edit_rows posts_per_page what_to_show date_format time_format links_updated_date_format links_recently_updated_prepend links_recently_updated_append
siteurl blogname blogdescription wp_#_user_roles users_can_register admin_email start_of_week use_balanceTags use_smilies require_name_email comments_notify posts_per_rss rss_excerpt_length rss_use_excerpt mailserver_url mailserver_login mailserver_pass mailserver_port default_category default_comment_status default_ping_status default_pingback_flag default_post_edit_rows posts_per_page what_to_show date_format time_format links_updated_date_format links_recently_updated_prepend links_recently_updated_append
Usage[ ]
用法[ ]
To get the blog name, you would use the following:
你應(yīng)該使用下面的內(nèi)容,得到博客名稱:
get_blog_option($blogId,'blogname')
get_blog_option($blogId,'blogname')
Return to WordPress:WPMU_Functions
返回到 WPMU_Functions