Function asa2_option_is
Checks if an option has a positive value, what means activated in case of a checkbox.
Example:
if (asa2_option_is('disable_asin_filter')) { // option "Disable ASIN filter" is activated }
Parameters summary
string |
$key |
The option key |
Return value summary
boolean
|
bool |