There is a filter, wp_audio_extensions
, that should allow you to add m3u8
to the whitelist of allowed file extensions. Add this code to a child theme’s functions.php file, or using a plugin like Code Snippets:
function wpse_341199_allow_m3u8_extension( $exts ) {
$exts[] = 'm3u8';
return $exts;
}
add_filter( 'wp_audio_extensions', 'wpse_341199_allow_m3u8_extension' );
Related Posts:
- Right way to update widget on dynamic new input field
- Best practices regarding the creation of custom widgets?
- How to echo Widget Title in Custom Frontend-Template Box
- New checkbox in custom widget isn’t saving data
- Adding A New Widget to WordPress Disables the Existing Widgets
- Add multiple custom fields to the general settings page
- When should you, and when should you not, use wp_list_pluck()?
- Can the new 4.8v text widget visual editor be removed?
- Display random categories on the front page (Finding and Editing Theme Functions)
- How to influence the information displayed on widget inside wp-admin
- How to add css class to cloud tag anchors?
- Is it possible to remove the “standard” post format?
- Woocommerce add to simple product attribute programmatically [closed]
- Issue with get_theme_mod returning a blank value instead of the saved value
- How to remove row-actions from pages table?
- How can I get $id variable in widget’s form function?
- opening links in new tab using – add_filter( ‘the_content’, ‘make_clickable’);
- Using add_filter() in Widgets
- Modify search function in WordPress (TwentyTwelve)
- Show/hide Widgets in Dashboard Based on Current Advanced Custom Fields Option
- How to customize search result page title?
- remove the wrapping of text widget or
- Auto delete WordPress images/thumbnails (all sizes) and featured after X days/hours, or similar?
- remove from text-widget
- How to fix a theme with page.php Default Template that accidentally deleted?
- Programmatically Add Font-Awesome Icons to Category Widget
- Removing Unnecessary Text from Admin Menu without CSS
- Set default options for inserting media
- Authors details such as social media links, emails etc → Is this Meta or something else?
- Default or Preset Content for Custom Post Types
- Dynamically Register Sidebars For Each Top Level Page
- Remove tag on my RSS Feed
- Display WordPress Search
- How do I change parameters without changing the core
- Customising widget titles/headings in WP 5.8
- Problem with extract() with custom shortcode
- How to add a rel attribute to images that contains their categories?
- Widgets Section not displaying in theme customizer
- add sidebar area to header of child theme
- Preferred Use of home_url()?
- Displaying Widgets
- What is the most efficient method for loading widgets in functions.php
- Custom function for user register in wp?
- Theme-Config tab in admin Pannel?
- Creating loop within functions.php
- How to Add a Random Custom Gravatar in the WordPress Comments?
- Delete pages and Create default pages for all new network sites
- Ajaxing function in widget class
- Actions according to image type and size
- Increment price for Woocommerce Minicart [closed]
- Post thumbnail relative link and HTML modify
- Refactor create_function
- adding custom classes for tables
- Missing argument 2 for a custom function widgets_init
- Pass Shortcode Attribute to footer Script
- How to mass-delete inline styles in WordPress custom post type automatically?
- How would go about if I just want a temporary function?
- Remove the deleted users avatar from list
- How to call custom function from functions.php in site-wide template files?
- How to display more audio file ID3 tags in WordPress
- Customizer field value into functions.php variable
- PHP files included in functions.php don’t seem to work
- How Can I Expand the WordPress Customize window without any Plugin?
- Set quantity of woocommerce product on page visit [closed]
- wp_dropdown_categories and custom attribute
- str_replace function in theme
- Adding widget to dashboard with wp_dashboard_setup not working
- Automatically wrap multiple images in div
- Ajax not working properly
- How to insert custom widget in custom sidebar in theme activation?
- is_customize_preview() like function to check if Customizer “Live Preview” in JavaScript
- How to customly read JWPlayer’s “Playlist” items by using its “playlistid”?
- Passing values from a widget to a function within a plugin
- Override widget in function WordPress
- Include default functions and methods
- Hard-coding custom menu elements for menu manager
- Twentyten Child Theme: header images display messed up in admin panel
- How can I remove the main description text box in a Woocommerce product editor page? I only use the “Product short description” text box [closed]
- How can I modify all existing tags while keeping the urls themselves?
- IF Statement on Button to make it complete and “uncomplete” based on user action / click
- Gravity Forms Button Text
- Find resources dynamically loading and change or add to the url
- When sale price is 0.00 show only regular price
- Unable to login using username
- Word Press – Dynamic Content [closed]
- How can I make a widget shortcode to control all the widgets?
- Insert image in WordPress with HTML5 tag and caption function
- how can I just add to parent theme function(s) instead of redeclaring whole the function
- Replace a menu with widget or a custom template file programmatically
- Move Custom Fields on General Settings Page to New Location
- Custom taxonomy widget in admin area
- Skeleton Child Theme Add Icon Bar to Header Flex Grid
- Dashboard widget custom positioning?
- How do you Permanently Delete Sidebars
- WordPress Shortcode function display outside of widget
- Get rid of the widget Item Class=”widget-item”
- different style sheet for just one page template
- Custom Sidebar only on single post
- Condition OR for current user ID
- How to retrieve the current post’s generated featured image size?