We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 35931c8 + f213a67 commit d5f702eCopy full SHA for d5f702e
1 file changed
php/relate/class-relationship.php
@@ -117,6 +117,19 @@ public function __get( $key ) {
117
return $return;
118
}
119
120
+ /**
121
+ * Check the existence of a relationship data value.
122
+ *
123
+ * @param string $key The key.
124
125
+ * @return bool
126
+ */
127
+ public function __isset( $key ) {
128
+ $data_cache = $this->get_data();
129
+
130
+ return isset( $data_cache[ $key ] );
131
+ }
132
133
/**
134
* Set the save on shutdown flag.
135
*/
0 commit comments