1
2
3
4
5
6
7
8
9
10
11
12
13
/* HIDE PARENT THEME TEMPLATES */
function remove_unwanted_parent_themes() {
	echo "<script type=\"text/javascript\">
		//<![CDATA[
		
			jQuery(document).ready(function() {
				jQuery(\"#page_template option[value='showcase.php'], #page_template option[value='sidebar-page.php']\").remove();
			});
	
		//]]>
	</script>";
}
add_action( 'admin_head', 'remove_unwanted_parent_themes' );