$rule ) : // validate rule $rule = acf_validate_location_rule( $rule ); // append id and group $rule['id'] = "rule_{$i}"; // view amem_get_view( __DIR__ . '/location-rule.php', array( 'ruletab' => $ruletab, 'roles' => $roles, 'forms' => $forms, 'rule' => $rule, ) ); endforeach; ?>