Wordpress寄存器\u post\u类型参数
我正在查看用于注册自定义post类型的codex,但我不太明白这个参数的作用Wordpress寄存器\u post\u类型参数,wordpress,Wordpress,我正在查看用于注册自定义post类型的codex,但我不太明白这个参数的作用 function codex_custom_init() { $labels = array( 'name' => _x('Books', 'post type general name'), 第二个参数具体做什么?我在谷歌上到处都找不到 “名称”=>x('Books',“post-type-general-name')这是一个描述。“Books”的描述为“post type general name”。可能重
function codex_custom_init() {
$labels = array(
'name' => _x('Books', 'post type general name'),
第二个参数具体做什么?我在谷歌上到处都找不到
“名称”=>x('Books',“post-type-general-name')这是一个描述。“Books”的描述为“post type general name”。可能重复的