fix: get only metadta with patent equals `0` #184
This commit is contained in:
parent
614b21fa7e
commit
0f876375fc
|
@ -310,6 +310,7 @@ class Metadata_Sections extends Repository {
|
|||
$metadata_section = $this->fetch($metadata_section_id);
|
||||
if ($metadata_section) {
|
||||
$args = array(
|
||||
'parent' => 0,
|
||||
'meta_query' => [
|
||||
[
|
||||
'key' => 'metadata_section_id',
|
||||
|
|
Loading…
Reference in New Issue