Support » Themes and Templates » Remove Custom Post Type on Child THeme

  • Hi,

    I´m develop a childtheme, from the father theme bring a Custom Post Type I don´t want to use. How can I remove it?

    I try this:

    add_action( 'init', 'merca_portfolio' );
    function merca_portfolio() {
        remove_action('init', 'portfolio');

    But don´t work. 🙁

    Any idea? Thanx.

  • The topic ‘Remove Custom Post Type on Child THeme’ is closed to new replies.