WordPress at Your Fingertips
function is not described

WC_Breadcrumb::paged_trail() protected WC 1.0

Add a breadcrumb for pagination.

{} It's a method of the class: WC_Breadcrumb{}

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->paged_trail();

Code of WC_Breadcrumb::paged_trail() WC 5.8.0

protected function paged_trail() {
	if ( get_query_var( 'paged' ) && 'subcategories' !== woocommerce_get_loop_display_mode() ) {
		/* translators: %d: page number */
		$this->add_crumb( sprintf( __( 'Page %d', 'woocommerce' ), get_query_var( 'paged' ) ) );
	}
}