WordPress Expert — Hard
Key points
- get_post_status() resolves 'inherit' by checking the parent post's status
- Attachments and revisions use 'inherit' as their post_status
- The effective status of an attachment is its parent post's status
- This behavior is significant for controlling access to attachments
Ready to go further?
Related questions
