New answers tagged metabox
1
vote
Have mu-plugin remove meta box ONLY if it isn't already removed in functions.php
function_exists won't work in an MU plugin because MU plugins are loaded before regular plugins, so the functions won't exist. The function_exists() check would need to be in the themes.
But you're ...
1
vote
Have mu-plugin remove meta box ONLY if it isn't already removed in functions.php
Hmm, a lazy workaround—as long as you're not running PHP < 5.3.0—might be to use a namespace in your mu-plugins file.
Something like this might do the trick:
<?php
namespace Arglebargle;
\...
2
votes
Accepted
Changing custom type name hides the posts
I think what you're saying is that you're changing the name of the posttype (CPT) itself not the posts within that post type.
If that IS the case then WordPress is performing exactly as it should. ...
Top 50 recent answers are included
Related Tags
metabox × 1643custom-post-types × 434
custom-field × 333
post-meta × 221
php × 114
plugin-development × 94
plugins × 85
customization × 84
functions × 73
posts × 70
custom-taxonomy × 58
theme-development × 55
save-post × 54
categories × 46
wp-admin × 45
uploads × 42
wp-query × 38
jquery × 38
admin × 37
taxonomy × 35
loop × 28
pages × 26
actions × 25
meta-query × 25
javascript × 24