From ACF Documentation:
/*
* Conditional Statement
*/
if( get_field('field_name') )
{
echo "do something";
}
else
{
echo "do something else";
}
So…to check if something is “NOT” checked is just the else
of the above.
From ACF Documentation:
/*
* Conditional Statement
*/
if( get_field('field_name') )
{
echo "do something";
}
else
{
echo "do something else";
}
So…to check if something is “NOT” checked is just the else
of the above.