Viewing 1 replies (of 1 total)
  • Thread Starter C8H10N4O2

    (@c8h10n4o2)

    Hi,

    If you want to do this, you can use the following snippet in your functions.php.

    function my_columns_filter( $columns ) {
       unset($columns['ratings']);
       return $columns;
    }
    
    // Replace "CUSTOMPOSTTYPE" with the name of your custom post type
    add_filter( 'manage_edit-CUSTOMPOSTTYPE_columns', 'my_columns_filter',10, 1 );

    It would be cool to be able to select custom post types from the WP-Postrating admin.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Desactivate ratings for custom post types’ is closed to new replies.