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.


Package


Description Description


Parameters Parameters

$path

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


Top ↑

Return Return

(void)


Top ↑

Changelog Changelog

Changelog
VersionDescription
1.0.0Introduced.

Premium WordPress Apps

Top ↑

User Contributed Notes User Contributed Notes

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