WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Ryan Harne
    Member
    Posted 2 years ago #

    Hi,

    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.

    //functions.php
    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();
    		</script>
    	<?php }
    }

    Hope this helps!

    http://wordpress.org/extend/plugins/simple-custom-types/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

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