Skip to content

Instantly share code, notes, and snippets.

@MjHead
Created October 18, 2017 08:05
Show Gist options
  • Save MjHead/e69a98c1c95a98b3daa785f1d5113928 to your computer and use it in GitHub Desktop.
Save MjHead/e69a98c1c95a98b3daa785f1d5113928 to your computer and use it in GitHub Desktop.
<?php
add_filter( 'mc-listings/templates/filters/item-classes', '__prefix_add_classes' );
function __prefix_add_classes( $classes = array() ) {
$classes['new-class'] = 'true';
return $classes;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment