Skip to content

Commit

Permalink
Allow custom fields to show in rest.
Browse files Browse the repository at this point in the history
See #1124.
  • Loading branch information
boonebgorges committed Nov 3, 2023
1 parent 12701de commit 26cb551
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Controllers/Metas.php
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,6 @@ public function register_pf_metas() {
$metas[ $key ]['show_in_rest'] = true;
$metas[ $key ]['single'] = true;
$metas[ $key ]['type'] = 'string';
$metas[ $key ]['show_in_rest'] = false;
$metas[ $key ]['description'] = $meta['function'];
foreach ( $meta['level'] as $level ) {
switch ( $level ) {
Expand Down

0 comments on commit 26cb551

Please sign in to comment.