@since: 1.0.0

Breadcrumb_Trail::add_path_parents()

Method: Get parent posts by path. Currently, this method only supports getting parents of the ‘page’ post type. The goal of this function is to create a clear path back to home given what would normally be a “ghost” directory. If any page matches the given path, it’ll be added.

Source: theme-framework/kernel/breadcrumb-trail.php:1096

Used by 5 functions | Uses 1 function

Breadcrumb_Trail::add_term_parents()

Method: Searches for term parents of hierarchical taxonomies. This function is similar to the WordPress function get_category_parents() but handles any type of taxonomy.

Source: theme-framework/kernel/breadcrumb-trail.php:1154

Used by 2 functions | Uses 0 functions
Premium WordPress Apps