We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9edfca commit 3078334Copy full SHA for 3078334
src/Group.php
@@ -495,6 +495,17 @@ public function show_in_rest() {
495
return $this;
496
}
497
498
+ /**
499
+ * Change the field group's show in rest status to unactive.
500
+ *
501
+ * @return self
502
+ */
503
+ public function hide_in_rest() {
504
+ $this->show_in_rest = 0;
505
+
506
+ return $this;
507
+ }
508
509
/**
510
* Register the field group to ACF.
511
*
0 commit comments