Is there any way to disable the option of adding a new post under a Custom Post Type in WordPress (3.0)? I\'ve looked into labels and arguments but can\'t find anything that
add_action("load-post-new.php", 'block_post'); function block_post() { if($_GET["post_type"] == "custom_type") wp_redirect("edit.php?post_type=custom_type"); }