Add filter for Select2 Data Attributes
-
Could you please add following filter:
$atts = apply_filters(‘wpcf7_’.$tag->name.’_atts’, $atts, $tag->get_option(‘post-type’, ”, true), $tag);\plugins\cf7-post-fields\modules\image-select.php #264
I need to hook in to set
$atts[‘data-maximum-selection-Length’] = 3;
and limit select to x optionsThank you
BR
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add filter for Select2 Data Attributes’ is closed to new replies.