메소드 | 설명 | |
---|---|---|
__construct ( WP_Pos\WP_Post $archive_page = null ) | Crumbs constructor. | |
__toString ( ) : string | ||
build_html ( string $opening_element = '<p class="breadcrumb wpkb-breadcrumb">', string $closing_element = '</p>', string $separator = '»', string $prefix = 'You are here:' ) : string | Build the HTML string for the breadcrumbs |
메소드 | 설명 | |
---|---|---|
add_crumb ( string $link, string $title ) | Adds a crumb to the breadcrumbs | |
add_term_crumb ( mixed $term, string $term_type ) : boolean | ||
build_crumbs ( ) | Build the array of crumbs |
public __construct ( WP_Pos\WP_Post $archive_page = null ) | ||
$archive_page | WP_Pos\WP_Post |