wp_video_embed_handler

wp_video_embed_handler

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_video_embed_handler') is found 1 times:

  • /wp-includes/embed.php line 223
    	 * @since 3.6.0
    	 *
    	 * @param callable $handler Video embed handler callback function.
    	 */
    	wp_embed_register_handler( 'video', '#^https?://.+?\.(' . implode( '|', wp_get_video_extensions() ) . ')$#i', apply_filters( 'wp_video_embed_handler', 'wp_embed_handler_video' ), 9999 );
    }
    
    /**
     * YouTube iframe embed handler callback.
     *
     * Catches YouTube iframe embed URLs that are not parsable by oEmbed but can be translated into a URL that is.