Simple Custom Post Types
Remove / Disable BULK features (1 post)

  1. Ryan Harne
    Posted 3 years ago #


    Good + very easy to use plugins!

    But try to remove the SimpleCPT BULK features? Just FYI..

    The class apply across all edit.php to all post types - which includes custom you written one(scripted).

    I hate hacking plugins, so "reverse" the action by doing this.

    add_filter('admin_footer','remove_convert_postype_js', 1000);
    function remove_convert_postype_js()
    	global $pagenow;
    	if('edit.php' == $pagenow) { ?>
    		<script type="text/javascript">
    			jQuery("'div.actions select option[value^=convert_cpt-]").remove();
    	<?php }

    Hope this helps!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Custom Post Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Ryan Harne
  • This topic is not a support question
  • WordPress version: 3.3.1