Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Converts the category checkboxes to radio buttons
function cameronjonesweb_radio_taxonomy_meta_box( $post, $box ) {
post_categories_meta_box( $post, $box );
$meta_box = ob_get_clean();
echo str_replace( 'checkbox', 'radio', $meta_box );
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.