You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In give_get_template fn we are passing $template_path and $default_path path to give_locate_template fn but it only accept boolean as second and third param.We can improve this fn to handle default path logic.
This will be helpful to Give addon developers if this give_locate_template fn locates and load template on basis of fn arguments.
Issue Overview
In
give_get_template
fn we are passing$template_path
and$default_path
path togive_locate_template
fn but it only acceptboolean
as second and third param.We can improve this fn to handle default path logic.This will be helpful to Give addon developers if this
give_locate_template
fn locates and load template on basis of fn arguments.For ref: https://github.com/WordImpress/Give/blob/f5bc216de9a8fb778014ab2b9e6e8dea22580d9b/includes/template-functions.php#L54
The text was updated successfully, but these errors were encountered: