Obj::prop( 'ID', acf_get_field_group( $fieldKey ) ), 'element_type' => self::FIELD_GROUP_POST_TYPE ] ); } /** * @param array $fieldGroup * * @return array */ public function addLanguageInformation( $fieldGroup ) { if ( $this->isGroupTranslatable() ) { $language = $this->getLanguageCode( Obj::prop( 'key', $fieldGroup ) ); if ( $language ) { $fieldGroup[ self::LANGUAGE_PROPERTY ] = $language; } } return $fieldGroup; } }