Breadcrumb_Trail::add_path_parents( string $path )

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.


Description Description

Parameters Parameters


(string) (Required) The path (slug) to search for posts by.

Top ↑

Return Return


Top ↑

Changelog Changelog


Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.