wp_kses_allowed_html
Like this: Like Loading...
Appears in:
wordpress-4.0 ,
wordpress-4.4 ,
wordpress-4.8 ,
wordpress-4.9 ,
wordpress-4.9.4 ,
wordpress-4.9.5 ,
wordpress-4.9.6 ,
wordpress-4.9.7 ,
wordpress-4.9.8 ,
wordpress-5.0 ,
wordpress-5.0.1 ,
wordpress-5.0.2 ,
wordpress-5.0.3 ,
wordpress-5.1 ,
wordpress-5.1.1 ,
wordpress-5.2 ,
wordpress-5.2.1 ,
wordpress-5.2.2 ,
wordpress-5.2.3 ,
wordpress-5.2.4 ,
wordpress-5.3 ,
wordpress-5.3.1 ,
wordpress-5.3.2 ,
wordpress-5.4 ,
wordpress-5.4.1 ,
wordpress-5.4.2 ,
wordpress-5.5 ,
wordpress-5.5.1 ,
wordpress-5.5.2 ,
wordpress-5.5.3 ,
wordpress-5.6 ,
wordpress-5.6.1 ,
wordpress-5.6.2 ,
wordpress-5.7 ,
wordpress-5.7.1 ,
wordpress-5.7.2 ,
wordpress-5.8 ,
wordpress-5.8.1 ,
wordpress-5.8.2 ,
wordpress-5.8.3 ,
wordpress-5.9 ,
wordpress-5.9.1 ,
wordpress-5.9.2 ,
wordpress-5.9.3 ,
wordpress-6.0 ,
wordpress-6.0.1 ,
wordpress-6.0.2 ,
wordpress-6.0.3 ,
wordpress-6.1 ,
wordpress-6.1.1 ,
wordpress-6.2 ,
wordpress-6.2.1 ,
wordpress-6.2.2 ,
wordpress-6.3 ,
wordpress-6.3.1 ,
wordpress-6.3.2 ,
wordpress-6.4 ,
wordpress-6.4.1 ,
wordpress-6.4.2 ,
wordpress-6.4.3 ,
wordpress-6.5 ,
wordpress-6.5.2 ,
wordpress-6.5.3 ,
wordpress-6.5.4 ,
wordpress-6.5.5 ,
wordpress-6.6 ,
wordpress-6.6.1 ,
wordpress-6.6.2 ,
wordpress-6.7 Hook Type: filter
See hook in action
Displaying hooks found in version: wordpress-6.7
apply_filters('wp_kses_allowed_html') is found 7 times: /wp-includes/kses.php line 869 *
* @param array[] $html Allowed HTML tags.
* @param string $context Context name.
*/
return apply_filters( 'wp_kses_allowed_html', $html, $context );
}
switch ( $context ) {
case 'post':
/** This filter is documented in wp-includes/kses.php */
$tags = apply_filters( 'wp_kses_allowed_html', $allowedposttags, $context );
Like this: Like Loading...
/wp-includes/kses.php line 875
switch ( $context ) {
case 'post':
/** This filter is documented in wp-includes/kses.php */
$tags = apply_filters( 'wp_kses_allowed_html', $allowedposttags, $context );
// 5.0.1 removed the `<form>` tag, allow it if a filter is allowing it's sub-elements `<input>` or `<select>`.
if ( ! CUSTOM_TAGS && ! isset( $tags['form'] ) && ( isset( $tags['input'] ) || isset( $tags['select'] ) ) ) {
$tags = $allowedposttags;
$tags['form'] = array(
Like this: Like Loading...
/wp-includes/kses.php line 892 'target' => true,
);
/** This filter is documented in wp-includes/kses.php */
$tags = apply_filters( 'wp_kses_allowed_html', $tags, $context );
}
return $tags;
case 'user_description':
case 'pre_user_description':
Like this: Like Loading...
/wp-includes/kses.php line 902 case 'pre_user_description':
$tags = $allowedtags;
$tags['a']['rel'] = true;
/** This filter is documented in wp-includes/kses.php */
return apply_filters( 'wp_kses_allowed_html', $tags, $context );
case 'strip':
/** This filter is documented in wp-includes/kses.php */
return apply_filters( 'wp_kses_allowed_html', array(), $context );
case 'entities':
Like this: Like Loading...
/wp-includes/kses.php line 906 return apply_filters( 'wp_kses_allowed_html', $tags, $context );
case 'strip':
/** This filter is documented in wp-includes/kses.php */
return apply_filters( 'wp_kses_allowed_html', array(), $context );
case 'entities':
/** This filter is documented in wp-includes/kses.php */
return apply_filters( 'wp_kses_allowed_html', $allowedentitynames, $context );
case 'data':
Like this: Like Loading...
/wp-includes/kses.php line 910 return apply_filters( 'wp_kses_allowed_html', array(), $context );
case 'entities':
/** This filter is documented in wp-includes/kses.php */
return apply_filters( 'wp_kses_allowed_html', $allowedentitynames, $context );
case 'data':
default:
/** This filter is documented in wp-includes/kses.php */
return apply_filters( 'wp_kses_allowed_html', $allowedtags, $context );
}
Like this: Like Loading...
/wp-includes/kses.php line 915
case 'data':
default:
/** This filter is documented in wp-includes/kses.php */
return apply_filters( 'wp_kses_allowed_html', $allowedtags, $context );
}
}
/**
* You add any KSES hooks here.
*
Like this: Like Loading...
See this hook used in plugins: Select Plugin jetpack.6.2.1 jetpack.6.4.2 jetpack.6.5 jetpack.6.6.1 jetpack.6.7 jetpack.6.8 jetpack.6.8.1 jetpack.6.9 jetpack.7.0 jetpack.7.0.1 jetpack.7.1.1 jetpack.7.2 jetpack.7.2.1 jetpack.7.3.0 jetpack.7.3.1 jetpack.7.4 jetpack.7.4.1 jetpack.7.5.1 jetpack.7.5.3 jetpack.7.6 jetpack.7.7 jetpack.7.7.1 jetpack.7.7.2 jetpack.7.8 jetpack.7.9 jetpack.7.9.1 jetpack.8.0 jetpack.8.1 jetpack.8.1.1 jetpack.8.2 jetpack.8.2.1 jetpack.8.2.2 jetpack.8.2.3 jetpack.8.3 jetpack.8.4.1 jetpack.8.4.2 jetpack.8.5 jetpack.8.6 jetpack.8.6.1 jetpack.8.8 jetpack.8.8.1 jetpack.8.8.2 jetpack.8.9 jetpack.8.9.1 jetpack.9.0.1 jetpack.9.0.2 jetpack.9.1 jetpack.9.2 jetpack.9.2.1 jetpack.9.3 jetpack.9.3.1 jetpack.9.4 jetpack.9.5 jetpack.9.6 jetpack.9.6.1 jetpack.9.7 jetpack.9.8 jetpack.9.8.1 jetpack.9.9 jetpack.9.9.1 jetpack.10.0 jetpack.10.1 jetpack.10.2 jetpack.10.2.1 jetpack.10.7 jetpack.10.9 jetpack.11.0 jetpack.11.1 jetpack.11.1.2 jetpack.11.2 jetpack.11.3.1 jetpack.11.3.2 jetpack.11.4 jetpack.11.5.1 jetpack.11.6 jetpack.11.8 jetpack.11.8.4 jetpack.11.9 jetpack.11.9.1 jetpack.12.0 jetpack.12.1 jetpack.12.1.1 jetpack.12.2.1 jetpack.12.3 jetpack.12.5 jetpack.12.6 jetpack.12.6.1 jetpack.12.7.1 jetpack.12.8 jetpack.12.8.1 jetpack.12.9 jetpack.12.9.3 jetpack.13.0 jetpack.13.1.1 jetpack.13.1.3 jetpack.13.2 jetpack.13.2.1 jetpack.13.3.1 jetpack.13.5 jetpack.13.6 jetpack.13.7 jetpack.13.8 jetpack.13.8.1 jetpack.13.9.1 jetpack.14.0 gutenberg.3.9.0 gutenberg.4.0.0 gutenberg.4.1.1 gutenberg.4.2.0 gutenberg.4.3.0 gutenberg.4.4.0 gutenberg.4.5.0 gutenberg.4.5.1 gutenberg.4.6.0 gutenberg.4.6.1 gutenberg.4.7.0 gutenberg.4.7.1 gutenberg.4.8.0 gutenberg.4.9.0 gutenberg.16.9.0 gutenberg.17.0.2 gutenberg.17.1.2 gutenberg.17.2.3 gutenberg.17.3.0 gutenberg.17.4.1 gutenberg.17.5.0 gutenberg.17.5.2 gutenberg.17.6.5 gutenberg.17.7.0 gutenberg.17.8.0 gutenberg.17.8.2 gutenberg.17.9.0 gutenberg.18.2.0 gutenberg.18.5.0 gutenberg.18.6.1 gutenberg.18.7.1 gutenberg.18.9.0 gutenberg.19.0.0 gutenberg.19.1.0 gutenberg.19.2.0 gutenberg.19.4.0 gutenberg.19.6.1 gutenberg.19.6.4 wordpress-seo.11.9 wordpress-seo.12.0 wordpress-seo.12.1 wordpress-seo.12.2 wordpress-seo.12.4 wordpress-seo.12.5 wordpress-seo.12.5.1 wordpress-seo.12.6 wordpress-seo.12.6.1 wordpress-seo.12.6.2 wordpress-seo.12.7 wordpress-seo.12.7.1 wordpress-seo.12.8 wordpress-seo.12.8.1 wordpress-seo.12.9.1 wordpress-seo.13.0 wordpress-seo.13.1 wordpress-seo.13.2 wordpress-seo.13.3 wordpress-seo.13.4 wordpress-seo.13.4.1 wordpress-seo.13.5 wordpress-seo.14.0.1 wordpress-seo.14.0.2 wordpress-seo.14.0.4 wordpress-seo.14.1 wordpress-seo.14.2 wordpress-seo.14.3 wordpress-seo.14.4 wordpress-seo.14.5 wordpress-seo.14.6.1 wordpress-seo.14.7 wordpress-seo.14.8 wordpress-seo.14.8.1 wordpress-seo.14.9 wordpress-seo.15.0 wordpress-seo.15.1 wordpress-seo.15.1.1 wordpress-seo.15.2 wordpress-seo.15.2.1 wordpress-seo.15.3 wordpress-seo.15.4 wordpress-seo.15.5 wordpress-seo.15.6.2 wordpress-seo.15.7 wordpress-seo.15.8 wordpress-seo.15.9 wordpress-seo.15.9.1 wordpress-seo.15.9.2 wordpress-seo.16.0.1 wordpress-seo.16.0.2 wordpress-seo.16.1.1 wordpress-seo.16.2 wordpress-seo.16.3 wordpress-seo.16.4 wordpress-seo.16.5 wordpress-seo.16.6 wordpress-seo.16.6.1 wordpress-seo.16.7 wordpress-seo.16.8 wordpress-seo.16.9 wordpress-seo.17.0 wordpress-seo.17.1 wordpress-seo.17.2 wordpress-seo.17.2.1 wordpress-seo.17.3 wordpress-seo.17.4 wordpress-seo.18.3 wordpress-seo.18.4.1 wordpress-seo.18.5.1 wordpress-seo.18.7 wordpress-seo.18.8 wordpress-seo.19.0 wordpress-seo.19.1 wordpress-seo.19.2 wordpress-seo.19.3 wordpress-seo.19.5.1 wordpress-seo.19.6 wordpress-seo.19.6.1 wordpress-seo.19.7.1 wordpress-seo.19.7.2 wordpress-seo.19.8 wordpress-seo.19.9 wordpress-seo.19.10 wordpress-seo.19.11 wordpress-seo.19.13 wordpress-seo.20.1 wordpress-seo.20.2.1 wordpress-seo.20.3 wordpress-seo.20.5 wordpress-seo.20.6 wordpress-seo.20.7 wordpress-seo.20.8 wordpress-seo.20.10 wordpress-seo.20.11 wordpress-seo.20.12 wordpress-seo.21.0 wordpress-seo.21.1 wordpress-seo.21.2 wordpress-seo.21.4 wordpress-seo.21.5 wordpress-seo.21.7 wordpress-seo.21.8 wordpress-seo.21.8.1 wordpress-seo.21.9.1 wordpress-seo.22.0 wordpress-seo.22.1 wordpress-seo.22.2 wordpress-seo.22.3 wordpress-seo.22.6 wordpress-seo.22.8 wordpress-seo.22.9 wordpress-seo.23.0 wordpress-seo.23.2 wordpress-seo.23.3 wordpress-seo.23.4 wordpress-seo.23.6 wordpress-seo.23.8 wordpress-seo.23.9 enlighter.3.10.0 advanced-custom-fields.5.9.6 advanced-custom-fields.5.9.7 advanced-custom-fields.5.9.8 advanced-custom-fields.5.9.9 advanced-custom-fields.5.10 advanced-custom-fields.5.10.1 advanced-custom-fields.5.10.2 advanced-custom-fields.5.12 advanced-custom-fields.5.12.1 advanced-custom-fields.5.12.2 advanced-custom-fields.5.12.3 advanced-custom-fields.6.0.2 advanced-custom-fields.6.0.3 advanced-custom-fields.6.0.4 advanced-custom-fields.6.0.5 advanced-custom-fields.6.0.6 advanced-custom-fields.6.0.7 advanced-custom-fields.6.1.4 advanced-custom-fields.6.1.6 advanced-custom-fields.6.1.7 advanced-custom-fields.6.2.0 advanced-custom-fields.6.2.2 advanced-custom-fields.6.2.3 advanced-custom-fields.6.2.4 advanced-custom-fields.6.2.6.1 advanced-custom-fields.6.2.7 advanced-custom-fields.6.2.9 advanced-custom-fields.6.3.1 advanced-custom-fields.6.3.2 advanced-custom-fields.6.3.3 advanced-custom-fields.6.3.5 advanced-custom-fields.6.3.6 advanced-custom-fields.6.3.6.3 advanced-custom-fields.6.3.10.2