Home › Forums › General Issues › Hidden Some Setting on Post or Page › Reply To: Hidden Some Setting on Post or Page
The second parameter of the remove_meta_box method takes the post_type. So if your custom post type is “products”, just do remove_meta_box("wpseo_meta", "products", "normal");
Also, keep in mind that the third parameter is one of “normal”, “advanced”, or “side” and is dependent on where that meta box is situated. Basically, if normal doesn’t work, try advanced. 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.