Filter for get_post_permalink()
-
Hello.
I am currently developing a theme for a company that requires a calendar. For this calendar we use
post_date
for when the event is scheduled, hence thepost_status
is future for all upcoming events. Since 4.2(?) you removed the custom permalink structure from future posts. What I’d love to see is a filter for the rows (159 and 257 in link-template.php)!in_array( $post->post_status, array( 'draft', 'pending', 'auto-draft', 'future' ) ) )
so that we can present the upcoming events with a nice permalink structure.Best regards,
Sebastian
- The topic ‘Filter for get_post_permalink()’ is closed to new replies.