WC_Breadcrumb::add_crumbs_attachment
Attachment trail.
Method of the class: WC_Breadcrumb{}
No Hooks.
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->add_crumbs_attachment();
WC_Breadcrumb::add_crumbs_attachment() WC Breadcrumb::add crumbs attachment code WC 10.8.1
protected function add_crumbs_attachment() {
global $post;
$this->add_crumbs_single( $post->post_parent, get_permalink( $post->post_parent ) );
$this->add_crumb( get_the_title(), get_permalink() );
}