static public add_filters ( ) : void | ||
리턴 | void |
static function add_filters()
{
add_filter('upload_dir', function ($arr) {
$arr['relative'] = str_replace(get_home_url(), '', $arr['baseurl']);
return $arr;
});
}