Replace single_template filter with what for default posts?
The answers you want are in the code. Meaning, you need to go exploring. Your search should start with wp-includes/template-loader.php. This is the very last file WordPress includes before the theme get’s loaded. it runs through a bunch of conditionals to check which type of page we’re out and what template to fetch. The relevant … Read more