' . $located . '' ), '1.0.0' ); return; } // Allow 3rd party plugin filter template file from their plugin. $located = apply_filters( 'cbxgooglemap_get_template', $located, $template_name, $args, $template_path, $default_path ); do_action( 'cbxgooglemap_before_template_part', $template_name, $template_path, $located, $args ); include $located; do_action( 'cbxgooglemap_after_template_part', $template_name, $template_path, $located, $args ); }//end function cbxgooglemap_get_template /** * Like wc_get_template, but returns the HTML instead of outputting. * * @see wc_get_template * @since 2.5.0 * * @param string $template_name Template name. * @param array $args Arguments. (default: array). * @param string $template_path Template path. (default: ''). * @param string $default_path Default path. (default: ''). * * @return string */ function cbxgooglemap_get_template_html( $template_name, $args = array(), $template_path = '', $default_path = '' ) { ob_start(); cbxgooglemap_get_template( $template_name, $args, $template_path, $default_path ); return ob_get_clean(); }//end function cbxgooglemap_get_template_html