Breadcrumb_Trail::map_rewrite_tags( int $post_id, string $path )

Turns %tag% from permalink structures into usable links for the breadcrumb trail. This feels kind of hackish for now because we’re checking for specific %tag% examples and only doing it for the ‘post’ post type. In the future, maybe it’ll handle a wider variety of possibilities, especially for custom post types.


Description Description

Parameters Parameters


(int) (Required) ID of the post whose parents we want.


(string) (Required) Path of a potential parent page.


(array) (Required) Mixed arguments for the menu.

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.