Support » Plugin: Simple Custom Post Types » [Plugin: Simple Custom Post Types] Remove / Disable BULK features

  • 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/

  • The topic ‘[Plugin: Simple Custom Post Types] Remove / Disable BULK features’ is closed to new replies.