WordPress 5.5 Allows the Passing of Arguments to Template Files

BCN

$$$$ ¯\_(ツ)_/¯ $$$$
Joined
Dec 26, 2015
Messages
238
Likes
249
Points
1
Nice, some more separation if layout (views) and logic (controllers/services), like any sane web framework is nice
 

Ryuzaki

お前はもう死んでいる
Staff member
BuSo Pro
Digital Strategist
Joined
Sep 3, 2014
Messages
4,206
Likes
8,081
Points
8
"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...
 

BCN

$$$$ ¯\_(ツ)_/¯ $$$$
Joined
Dec 26, 2015
Messages
238
Likes
249
Points
1
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?