Hello, i tried to remove a custom post type but this code did not work:
add_action( ‘after_setup_theme’,’sf_custom_post_remove’, 100 );
function sf_custom_post_remove() {
remove_action( ‘init’, ‘faqs_register’);
remove_action( ‘init’, ‘clients_register’);
remove_action( ‘init’, ‘jobs_register’);
remove_action( ‘init’, ‘portfolio_register’);
remove_action( ‘init’, ‘team_register’);
remove_action( ‘init’, ‘testimonials’);
}
Also, Dante does not have theme options to remove any custom post type