Forums
(@bjorngus)
8 years, 5 months ago
I think i run 5.5.1. Ok let me try that.
Never mind, since we have the ID of the post in the code, we can easily find the post type with get_post_type().