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.2

apply_filters('wp_video_shortcode') is found 1 times:

  • /wp-includes/media.php line 3814
    3810
    3811
    3812
    3813
    3814
    3815
    3816
    3817
    3818
    3819
    3820
         * @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: