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.


Package


Description Description


Parameters Parameters

$post_id

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

$path

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

$args

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


Top ↑

Return Return

(array)


Top ↑

Changelog Changelog

Changelog
VersionDescription
0.6.0Introduced.

Premium WordPress Apps