WordPress.org

Ready to get started?Download WordPress

Forums

Remove Custom Post Type on Child THeme (1 post)

  1. lonchbox
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic