fix: get only metadta with patent equals `0` #184

This commit is contained in:
vnmedeiros 2022-05-12 11:14:29 -03:00
parent 614b21fa7e
commit 0f876375fc
1 changed files with 1 additions and 0 deletions

View File

@ -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',