Instantly share code, notes, and snippets.

Embed
What would you like to do?
Adding a menu icon to our Extended CPT.
$options = array(
'labels' => $labels,
'menu_icon' => 'dashicons-media-document',
);
register_extended_post_type( 'pixie-article', $options );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment