Custom “radio button meta box” not saving correctly
The error is in you saving function where you are looking for $_POST[‘meta_box_musicreleases_linktype’] which is never set and should actually be $_POST[‘linktype’], and the use of wp_kses is not right here, if you want to validate the data and you know all of the accepted values the you can simply use in_array try: add_action( ‘save_post’, … Read more