post_type, null); $checked = ($post->ID === $featured_post) ? 'checked' : ''; ?>

Marks this post as the "featured post" in the post_type; ?> feed.

> post_type == 'revision') return $post_id; $meta_box_text_value = ""; $meta_box_dropdown_value = ""; $meta_box_checkbox_value = ""; if(isset($_POST['featured-post--'.$post->post_type])) update_option('featured-post--'.$post->post_type, $post_id); elseif(!isset($_POST['featured-post--'.$post->post_type]) && $post_id == get_option('featured-post--'.$post->post_type, true)) delete_option('featured-post--'.$post->post_type); } add_action("save_post", "bswp_save_featured_post", 10, 3);