2012-08-26 59 views
0

我期待在食品註冊一個自定義後類型,我不完全得到這個參數作用WordPress的register_post_type參數

function codex_custom_init() { 
$labels = array(
'name' => _x('Books', 'post type general name'), 

究竟是什麼,第二個參數呢?我無法從Google搜索中找到它。

'名稱'=> _x( '圖書','後型通用名'

+0

[WordPress l18n _x()函數]可能的重複(http://stackoverflow.com/questions/5802283/wordpress-l18n-x-function) –

回答

0

也就是說的描述。 'Books'的描述是'post type general name'。

+0

感謝您清除它:) – user1623656