diff --git a/src/Helpers.php b/src/Helpers.php index d0bb2d1..ef3fd79 100644 --- a/src/Helpers.php +++ b/src/Helpers.php @@ -188,16 +188,17 @@ function get_cat_hierarchy($parent, $args) } /** - * @param $slug - * @param null $name - * @param null $data + * @param $slug + * @param $name + * @param $data + * @param $block * * Allows the pass through of data to template partials. * */ if (!function_exists('get_acf_part')) { - function get_acf_part($slug, $name = null) + function get_acf_part($slug, $name = null, $data = null, $block = null) { include(get_template_part_acf($slug, $name)); } @@ -413,7 +414,7 @@ function show_woo_single_product() * * @return bool|string * - * Returns an HTML link including the logo, Or just the path the the logo image. + * Returns an HTML link including the logo, Or just the path to the logo image. */ function get_the_logo($include_link = false, $custom_logo_css = 'site-logo custom-logo img-fluid',