How to disable the single view for a custom post type?
Given this custom post type: register_post_type( ‘sample_post_type’, [ ‘labels’ => [ ‘name’ => _x(‘Sample Posts’, ‘post type general name’), ‘singular_name’ => _x(‘Sample Post’, … Read more
Given this custom post type: register_post_type( ‘sample_post_type’, [ ‘labels’ => [ ‘name’ => _x(‘Sample Posts’, ‘post type general name’), ‘singular_name’ => _x(‘Sample Post’, … Read more