For example, if it was desired that all pym embed parent divs should have the class pym_parent:
/**
* add 'pym_parent' to the classes on the pym field array
* @param Array $classes
* @return Array
*/
function my_pym_class_filter( $classes ) {
$classes[] = 'pym_parent';
return $classes;
}
add_filter( 'pym_element_classes', 'my_pym_class_filter' );
For example, if it was desired that all pym embed parent divs should have the class
pym_parent: