• Please, make the function discovery_breadcrumbs overridable.
    I want in my child theme override the function. I just have made it myself, but in future theme updates the change is lost.

    Just wrap the function with an if.
    Like that:

    if ( ! function_exists( 'discovery_breadcrumbs' ) ) :
    function discovery_breadcrumbs() {
     	//...
    	}
    } // end discovery_breadcrumbs()
    endif;

  • The topic ‘function discovery_breadcrumbs not overridable’ is closed to new replies.