';
echo '
';
get_template_part( 'global-templates/left-sidebar-check' );
echo '';
}
}
if ( ! function_exists( 'understrap_woocommerce_wrapper_end' ) ) {
/**
* Display the theme specific end of the page wrapper.
*/
function understrap_woocommerce_wrapper_end() {
echo '';
get_template_part( 'global-templates/right-sidebar-check' );
echo '
';
echo '
';
echo '';
}
}
if ( ! function_exists( 'understrap_wc_form_field_args' ) ) {
/**
* Filter hook function monkey patching form classes
* Author: Adriano Monecchi http://stackoverflow.com/a/36724593/307826
*
* @param string $args Form attributes.
* @param string $key Not in use.
* @param null $value Not in use.
*
* @return mixed
*/
function understrap_wc_form_field_args( $args, $key, $value = null ) {
// Start field type switch case.
switch ( $args['type'] ) {
/* Targets all select input type elements, except the country and state select input types */
case 'select':
// Add a class to the field's html element wrapper - woocommerce
// input types (fields) are often wrapped within a