Have you ever asked yourself what happens when you hit a URL on a WordPress website? Here’s the very simplified version of the story: WordPress environment is loaded (core, plugins, theme) WordPress looks at URL and builds some query arguments based on it Obtained query arguments are used to run a \WP_Query (known as "main…
So many WP articles are jokey and condescending and often inaccurate. But this is a superb article, beautifully and intelligently written, explaining how WP parses a request and how to tap into that. Thank you very much!
Wow, this si awesome article! Do somebody cobined this with Laravel routing system, resp. whole Laravel? I imagine it like to have default routing from WP, and when 404 occurs, then init Laravel kernel?