Skip to content

Instantly share code, notes, and snippets.

Allows you to assign multiple options to an active callback for any control
'active_callback' => array(
array(
array(
'setting' => 'setting_name',
'operator' => '==',
'value' => 'value_goes_here',
),
array(
'setting' => 'setting_name',
'operator' => '==',
'value' => 'other_value_goes_here',
),
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment