wp_video_shortcode_override

wp_video_shortcode_override

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('wp_video_shortcode_override') is found 1 times:

  • /wp-includes/media.php line 3474
    	 * @param array  $attr     Attributes of the shortcode. See {@see wp_video_shortcode()}.
    	 * @param string $content  Video shortcode content.
    	 * @param int    $instance Unique numeric ID of this video shortcode instance.
    	 */
    	$override = apply_filters( 'wp_video_shortcode_override', '', $attr, $content, $instance );
    
    	if ( '' !== $override ) {
    		return $override;
    	}
    
    	$video = null;
    

See this hook used in plugins: