Created
June 1, 2018 17:02
-
-
Save tsquez/c35a436e5f386a1c8380a7bcc29a7af7 to your computer and use it in GitHub Desktop.
Allows you to assign multiple options to an active callback for any control
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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