jetpack_comments_allow_oembed, true
jetpack_comments_allow_oembed, true
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('jetpack_comments_allow_oembed, true') is found 2 times:
- /modules/shortcodes/vimeo.php line 418
if ( ! is_admin() /** This filter is documented in modules/shortcodes/youtube.php */ && apply_filters( 'jetpack_comments_allow_oembed', true ) // No need for this on WordPress.com, this is done for multiple shortcodes at a time there. && ( ! defined( 'IS_WPCOM' ) || ! IS_WPCOM ) ) { /* * We attach wp_kses_post to comment_text in default-filters.php with priority of 10 anyway, * so the iframe gets filtered out. - /modules/shortcodes/youtube.php line 639
* @since 2.8.0 * * @param int $allow_oembed Option to automatically embed all plain text URLs. */ apply_filters( 'jetpack_comments_allow_oembed', true ) // No need for this on WordPress.com, this is done for multiple shortcodes at a time there. && ( ! defined( 'IS_WPCOM' ) || ! IS_WPCOM ) ) { /* * We attach wp_kses_post to comment_text in default-filters.php with priority of 10 anyway, * so the iframe gets filtered out.