79488193

Date: 2025-03-06 03:35:58
Score: 0.5
Natty:
Report link

the_field('is_neighborhood') directly prints the value. it returns null. Use get_field('is_neighborhood') on place of it.

$is_neighborhood = get_field('is_neighborhood'); // Get the field value
    echo $is_neighborhood; // Print it to verify

    if ($is_neighborhood == 'Yes') {
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gauri Kaushik