rtmedia_upload_sanitize_filename_before_upload

Removing special characters and replacing accent characters with ASCII characters in filename before upload to server.

Description

rtmedia_upload_sanitize_filename_before_upload(); 

Usage

  1. if ( !function_exists( 'rtmedia_upload_sanitize_filename_before_upload' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'rtmedia-for-wordpress-buddypress-and-bbpress/app/main/controllers/template/rtmedia-actions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = rtmedia_upload_sanitize_filename_before_upload(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/app/main/controllers/template/rtmedia-actions.php  
  1. function rtmedia_upload_sanitize_filename_before_upload() { 
  2.  
  3.