Passing arguments to template files in WordPress 5.5

For years, theme developers wishing to pass data to template files have had to use less than ideal workarounds. This included the use of global variables, set_query_var(), the include( locate_template() ) pattern, or own version of get_template_part(), and so on. Starting in WordPress 5.5, the template loading functions will now allow additional arguments to be passed through to the … Continue reading Passing arguments to template files in WordPress 5.5