wp_video_shortcode

wp_video_shortcode

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_video_shortcode') is found 1 times:

  • /wp-includes/media.php line 3814
    	 * @param string $video   Video file.
    	 * @param int    $post_id Post ID.
    	 * @param string $library Media library used for the video shortcode.
    	 */
    	return apply_filters( 'wp_video_shortcode', $output, $atts, $video, $post_id, $library );
    }
    add_shortcode( 'video', 'wp_video_shortcode' );
    
    /**
     * Gets the previous image link that has the same post parent.
     *
    

See this hook used in plugins: