You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sambulance they are exclusionary because each filters the previous value so one or the other will always fail. This opens up a much larger can of worms but I'm glad you brought it up because this doesn't behave as I would expect it to if I were just walking into the project.
I might have a look at how CMB2 handles this - we might want some of the checks to accept the previous value if true and skip and other to override it like the permissions checks one; downside being that then we have disparate behavior and expectations between the checks.
I have some meta boxes that need to only appear on the homepage and when a certain page template is selected.
I tried using the following setup:
But the boxes do not appear on the front page. Any value passed to
id
is ignored whilepage-template
exists in the sameshow_on
array.I've got around this by having two
$meta_boxes[]
arrays, one with usingid
and the other usingpage_template
, which works fine.The text was updated successfully, but these errors were encountered: