Hide some items from Screen options in dashboard for products

Hide items marked in red

I am trying to unset/hide some options in dashboard.

I am trying it for products screen.

Here is the screenshot

Here is the code i tried to hide SKU

/** Hide Dashboard widget by default via Screen Options */
add_filter( 'default_hidden_meta_boxes', 'wpfa_default_screen_option' );

function wpfa_default_screen_option( $hidden ) {
/** Add WP First Aid meta box ID to default hidden Screen Options array */
$hidden[] = 'sku-hide';

return $hidden;
}

Though it didn’t work at all.

I need to hide these three items in screenshot.

Any Help will be appreciated.

Read more here:: Hide some items from Screen options in dashboard for products

Leave a Reply

Your email address will not be published. Required fields are marked *