Hi! This was very helpful for a …

Posted on by

Comment posted on LH User Taxonomies by Ken Hobbs.

Read the original post: LH User Taxonomies

Hi! This was very helpful for a project I\’m working on. Much appreciated.

I did find a small issue. The single value property check in the plugin only checked for isset and not true/false. As a result one could not select multiple taxonomies for a single user without removing the property from the registration all together. I altered the plugin code as follows and it works like a champ.

Again…thank you!! Save me a bunch of time.

$input_type = ( isset($taxonomy->single_value) && $taxonomy->single_value == true ) ? \’radio\’ : \’checkbox\’ ;

Categories Uncategorised