ndiego / block-visibility

Conditional visibility controls for all WordPress blocks.
https://www.blockvisibilitywp.com
GNU General Public License v2.0
123 stars 10 forks source link

Added support for user metadata array field and "contains" comparer #85

Closed olegrumiancev closed 1 year ago

olegrumiancev commented 1 year ago

Hi there! First of all great plugin, and thank you for all the hard work on this.

I've had to edit metadata visibility test file in my instance to be able to compare custom user field that's a multiselect, resulting in array to a string value, essentially checking if an option was selected.

I figured this would be a nice easy addition to the plugin