sm:item:on_fly:before_add

sm:item:on_fly:before_add

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.4.4.1

apply_filters('sm:item:on_fly:before_add') is found 1 times:

  • /lib/classes/class-dynamic-image-support.php line 75
                'file-hash' => md5($file)
              );
            }
    
            $client->add_media(apply_filters('sm:item:on_fly:before_add', array_filter(array(
              'name' => $file_path,
              'absolutePath' => wp_normalize_path($file),
              'cacheControl' => apply_filters('sm:item:cacheControl', ud_get_stateless_media()->get_default_cache_control(), $_metadata),
              'contentDisposition' => null,
              'mimeType' => $mimeType['type'],
              'metadata' => $_metadata