IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
1958 | 1958 | * @return string The HTML for this group and its items. |
1959 | 1959 | */ |
1960 | 1960 | function wp_privacy_generate_personal_data_export_group_html( $group_data ) { |
1961 | | $allowed_tags = array( |
1962 | | 'a' => array( |
1963 | | 'href' => array(), |
1964 | | 'target' => array() |
1965 | | ), |
1966 | | 'br' => array() |
| 1961 | /** |
| 1962 | * Filter the allowed tags inside the generated HTML output. |
| 1963 | * |
| 1964 | * @since 4.9.6 |
| 1965 | * |
| 1966 | * TODO: Document parameter. |
| 1967 | */ |
| 1968 | $allowed_tags = apply_filters( |
| 1969 | 'wp_privacy_personal_data_export_allowed_tags', |
| 1970 | array( |
| 1971 | 'a' => array( |
| 1972 | 'href' => array(), |
| 1973 | 'target' => array() |
| 1974 | ), |
| 1975 | 'br' => array() |
| 1976 | ) |
1967 | 1977 | ); |
1968 | | $allowed_protocols = array( 'http', 'https' ); |
1969 | | $group_html = ''; |
| 1978 | |
| 1979 | /** |
| 1980 | * Filter the allowed protocols inside the generated HTML output. |
| 1981 | * |
| 1982 | * @since 4.9.6 |
| 1983 | * |
| 1984 | * @param array $allowed_protocols A list of protocols. |
| 1985 | */ |
| 1986 | $allowed_protocols = apply_filters( |
| 1987 | 'wp_privacy_personal_data_export_allowed_protocols', |
| 1988 | array( 'http', 'https' ) |
| 1989 | ); |
| 1990 | |
| 1991 | $group_html = ''; |
1970 | 1992 | |
1971 | 1993 | $group_html .= '<h2>' . esc_html( $group_data['group_label'] ) . '</h2>'; |
1972 | 1994 | $group_html .= '<div>'; |