Esempio n. 1
0
 /**
  * @inheritdoc
  *
  * Add term field group-specific information to the export object.
  *
  * @return array
  * @since 2.1
  */
 protected function get_export_fields()
 {
     $data = parent::get_export_fields();
     // Array of slugs of associated taxonomies.
     $associated_taxonomy_data = implode(',', $this->get_associated_taxonomies());
     // parent::XML_META_SECTION is ensured by the parent method
     $data[parent::XML_META_SECTION][self::POSTMETA_ASSOCIATED_TAXONOMY] = $associated_taxonomy_data;
     return $data;
 }