WordPress 5.5 Allows the Passing of Arguments to Template Files

Nice, some more separation if layout (views) and logic (controllers/services), like any sane web framework is nice
 
"This enhancement ticket was created 8 years ago, and is a long awaited addition. Thank you to all that helped discuss and refine this change."

Better late that never...
 
They've kinda had this feature though, with hooks? I prefer hook into theme hooks, in a separate php file and do the logic there. Not quite the same, but very similar?
 
Back