/home/techb158/public_html/wp-content/plugins/kirki/app/Models
Edit: /home/techb158/public_html/wp-content/plugins/kirki/app/Models/Page.php (867B)
has_many(PostMeta::class, 'post_id', 'ID');
}
public function taxonomies()
{
return $this->belongs_to_many(TermTaxonomy::class, 'term_relationships', 'object_id', 'term_taxonomy_id');
}
public function categories()
{
return $this->taxonomies()->where('taxonomy', 'category');
}
public function tags()
{
return $this->taxonomies()->where('taxonomy', 'post_tag');
}
}