Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
CMS Page Order - Customize Page Label
add_action( 'cmspo_page_label', 'be_slide_order_label', 10, 2 );
* CMS Page Order - Rename to 'Slide Order' on rotator
* @author Bill Erickson
* @link
* @param string $label, default "Page Order"
* @param string $post_type
* @return string
function be_slide_order_label( $label, $post_type ) {
if( 'rotator' == $post_type )
$label = 'Slide Order';
return $label;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.