wp_video_extensions

wp_video_extensions

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_extensions') is found 1 times:

  • /wp-includes/media.php line 3544
    3540
    3541
    3542
    3543
    3544
    3545
    3546
    3547
    3548
    3549
    3550
         *
         * @param string[] $extensions An array of supported video formats. Defaults are
         *                             'mp4', 'm4v', 'webm', 'ogv', 'flv'.
         */
        return apply_filters( 'wp_video_extensions', array( 'mp4', 'm4v', 'webm', 'ogv', 'flv' ) );
    }
     
    /**
     * Builds the Video shortcode output.
     *
     * This implements the functionality of the Video Shortcode for displaying

See this hook used in plugins: