-
Notifications
You must be signed in to change notification settings - Fork 0
(feat): utility functions for hierarchical post types #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Coverage report for commit: 8aa2da7 Summary - Lines: 11.71% | Methods: 6.12%
🤖 comment via lucassabreu/comment-coverage-clover |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Het enige wat ik nu nog mis, is een functie die checkt of de post een top-level post is. Dus geen children, en óók geen parent. Bij een "Projecten" CPT heb je bijv. "Deelprojecten", maar ook "Deel-deelprojecten". Hier zou een |
| return null; | ||
| } | ||
|
|
||
| return static::fromPost($parent); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wat als dit een ander post type is?
a66da4c to
b5557c2
Compare
No description provided.