public function find_post_parents($post_type, $post_parent) { if (!is_post_type_hierarchical($post_type)) { return; } if (0 < $post_parent) { $this->parent_elements = \Inpsyde\MultilingualPress\get_translation_ids($post_parent); } }