| 2151 | | return $group_html; |
| | 2151 | /** |
| | 2152 | * Filters the returned HTML for this group and its items. |
| | 2153 | * |
| | 2154 | * Use this filter to add support for custom data types, or to filter the result. |
| | 2155 | * |
| | 2156 | * @since 5.2.0 |
| | 2157 | * |
| | 2158 | * @param string $group_html The returned HTML for this group and its items. |
| | 2159 | * @return array $group_data { |
| | 2160 | * The group data to render. |
| | 2161 | * |
| | 2162 | * @type string $group_label The user-facing heading for the group, e.g. 'Comments'. |
| | 2163 | * @type array $items { |
| | 2164 | * An array of group items. |
| | 2165 | * |
| | 2166 | * @type array $group_item_data { |
| | 2167 | * An array of name-value pairs for the item. |
| | 2168 | * |
| | 2169 | * @type string $name The user-facing name of an item name-value pair, e.g. 'IP Address'. |
| | 2170 | * @type string $value The user-facing value of an item data pair, e.g. '50.60.70.0'. |
| | 2171 | * } |
| | 2172 | * } |
| | 2173 | * } |
| | 2174 | */ |
| | 2175 | return apply_filters( 'wp_privacy_personal_data_export_group_html', $group_html, $group_data ); |