um_upload_baseurl_filter

Hook type

Filter

Description

Change Uploads Base URL

Parameters

$baseurl

(string) Uploads base URL

Usage

add_filter( 'um_upload_baseurl_filter', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_upload_baseurl_filter', 'my_upload_baseurl', 10, 1 );
function my_upload_baseurl( $baseurl ) {
    // your code here
return $baseurl;
}
?>

Change Log

Since: 2.0

Source

um_upload_baseurl_filter is located in includes/core/class-files.php::line 280