Skip to content

Commit 50e9cdd

Browse files
committed
feat(crumb): Added support for hierarchical custom post types
1 parent 80f481d commit 50e9cdd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Crumb.php

+4
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,10 @@ public function build()
227227
);
228228
}
229229

230+
$type = get_post_type_object(
231+
get_post_type()
232+
);
233+
230234
if (! empty($type)) {
231235

232236
$ancestors = collect(

0 commit comments

Comments
 (0)