简体   繁体   English

在Wordpress中隐藏/删除自定义帖子类型选项

[英]Hide/Remove custom Post Type options in Wordpress

在Wordpress中隐藏/删除自定义帖子类型选项

what you are looking i think its to remove what we call "Meta Box" inside the wordpress 您在寻找什么,我认为它可以删除wordpress中称为“ Meta Box”的内容

http://codex.wordpress.org/Function_Reference/add_meta_box http://codex.wordpress.org/Function_Reference/add_meta_box

look inside you theme files for "add_meta_box" method the are related with the post_type you trying to change. 在主题文件中查找“ add_meta_box”方法,这些方法与您尝试更改的post_type有关。

http://codex.wordpress.org/Plugin_API/Action_Reference/add_meta_boxes http://codex.wordpress.org/Plugin_API/Action_Reference/add_meta_boxes

make a find inside you theme folder for this "adding_custom_meta_boxes" 在主题文件夹中查找此“ adding_custom_meta_boxes”

this method its gonna be followed by the name of the custom type you're trying to change. 此方法后面将跟您要更改的自定义类型的名称。

adding_custom_meta_boxes( $post_type add_custom_meta_boxes($ post_type

Hope that help :) 希望对您有所帮助:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM