• Resolved mikeill

    (@mikeill)


    I’m trying to replace the customizr tc_breadcrumb_display with following code, but it’s not effecting it:

    add_filter('tc_breadcrumb_display', 'my_replacement_function');
    function my_replacement_function($output) {
        return '';
    }

    Am I using the wrong filter (in child functions.php file) or using it the wrong way?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mikeill

    (@mikeill)

    found it. it's tc_show_breadcrumb
    
    add_filter('tc_show_breadcrumb', 'my_replacement_function');
    function my_replacement_function($output) {
        return code etc etc;
    }
    rdellconsulting

    (@rdellconsulting)

    Thanks Mike. I’ll update that snippet later

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Replace breadcrumbs with different function’ is closed to new replies.