Style Custom Post page

Last Updated: August 16, 2021

How to style custom post table page .

If you want to remove mouse over actions below on your custom post pages you can use the post_row_actions

function remove_row_actions( $actions ){
    if( get_post_type() === 'post' ) {
        unset($actions['edit']);
        unset($actions['view']);
        unset($actions['trash']);
        unset($actions['inline hide-if-no-js']);
    }
    return $actions;
}
add_filter('post_row_actions','remove_row_actions');