wc_get_template_part

wc_get_template_part

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('wc_get_template_part') is found 1 times:

  • /includes/wc-core-functions.php line 282
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
            $template = wc_untokenize_path( $template, wc_get_path_define_tokens() );
        }
     
        // Allow 3rd party plugins to filter template file from their plugin.
        $template = apply_filters( 'wc_get_template_part', $template, $slug, $name );
     
        if ( $template ) {
            load_template( $template, false );
        }
    }