Skip to content

Instantly share code, notes, and snippets.

@chuckreynolds
Last active September 25, 2015 04:20
Show Gist options
  • Save chuckreynolds/72089f89aa3254373a4f to your computer and use it in GitHub Desktop.
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.
<?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