Last active
September 25, 2015 04:20
-
-
Save chuckreynolds/72089f89aa3254373a4f to your computer and use it in GitHub Desktop.
Restrict Content Pro defaults its post metabox to high. It was displaying above custom meta boxes on my custom post types and well I can't have that. So here's the filter to bump it to low.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* RCP metabox is higher than cpt metafields so | |
* let's lower that priority a bit | |
*/ | |
function chuck_rcp_chill_priority() { | |
return 'low'; | |
} | |
add_filter( 'rcp_metabox_priority', 'chuck_rcp_chill_priority' ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment