Instantly share code, notes, and snippets.

Embed
What would you like to do?
register CTP with Dashicon
<?php
register_post_type('slide', array(
'label' => 'Slides',
'menu_icon' => 'dashicons-slides'
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment