sm:item:on_fly:before_add
sm:item:on_fly:before_add
Appears in: wp-stateless.2.3.2, wp-stateless.3.0, wp-stateless.3.0.1, wp-stateless.3.0.2, wp-stateless.3.0.3, wp-stateless.3.0.4, wp-stateless.3.1.0, wp-stateless.3.1.1, wp-stateless.3.2.2, wp-stateless.3.2.4, wp-stateless.3.2.5, wp-stateless.3.3.0, wp-stateless.3.4.0, wp-stateless.3.4.1, wp-stateless.4.0.3, wp-stateless.4.0.4, wp-stateless.4.1.1, wp-stateless.4.1.2
Hook Type: filter
Displaying hooks found in version: wp-stateless.4.1.2apply_filters('sm:item:on_fly:before_add') is found 2 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
- /lib/classes/compatibility/woo-extra-product-options.php line 67
'file-hash' => md5($file) ); } $media = $client->add_media(apply_filters('sm:item:on_fly:before_add', array( 'use_root' => false, 'name' => $file_path, 'absolutePath' => wp_normalize_path($file), 'cacheControl' => apply_filters('sm:item:cacheControl', 'public, max-age=36000, must-revalidate', $_metadata), 'contentDisposition' => null, 'mimeType' => $type,