decode_field_data( $data, $format ); } protected function get_tm_setting( $indexes ) { global $iclTranslationManagement; if ( empty( $iclTranslationManagement->settings ) ) { $iclTranslationManagement->init(); } $settings = $iclTranslationManagement->settings; foreach ( $indexes as $index ) { $settings = isset( $settings[ $index ] ) ? $settings[ $index ] : null; if ( ! isset( $settings ) ) { break; } } return $settings; } }