Viewing 1 replies (of 1 total)
  • Plugin Author minnur

    (@minnur)

    Hi @alyonarutzen unfortunately htm, html files are not allowed to be uploaded by default. You can extend the plugin by allowing more extensions.

    Here is the function I have in the plugin: $extensions = apply_filters( ‘external_media_safe_extensions’, ‘jpg jpeg gif png mp3 mp4 m4v mov webm’ );

    This is what you would need to add in your custom code

    function add_extra_extensions( $extensions ) {
      $extensions .= ' htm'; // Add new extension
      return $extensions;
    }
    add_filter( 'external_media_safe_extensions', 'add_extra_extensions' );
Viewing 1 replies (of 1 total)
  • The topic ‘Can′t import Data via URL (using Premium)’ is closed to new replies.