kirki
kirki copied to clipboard
active_callback with || not, &&
Hello
I want to use active_callback but not when first and second value is 'top_bar_contacts', but at least one of them. How can I do that?
'active_callback' => [
[
'setting' => 'header__top_bar__content_left',
'operator' => '==',
'value' => 'top_bar_contacts',
],
[
'setting' => 'header__top_bar__content_right',
'operator' => 'contains',
'value' => 'top_bar_contacts',
],
]
Thanks!