Last active
April 1, 2024 08:19
-
-
Save plugin-republic/332aae546e0a67358e37c67f6e9f0a73 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Filter group wrapper classes | |
* @param $classes Array | |
*/ | |
function prefix_filter_group_wrapper_class( $classes, $group_id, $group, $product_id ) { | |
$classes[] = 'my-new-group-class'; | |
return $classes; | |
} | |
add_filter( 'pewc_filter_group_wrapper_class', 'prefix_filter_group_wrapper_class', 10, 4 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment