sm:synced::nonImage

sm:synced::nonImage

Hook Type: action

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

do_action('sm:synced::nonImage') is found 1 times:

  • /lib/classes/class-utility.php line 1065
                  throw new UnprocessableException($metadata->get_error_message());
                }
    
                wp_update_attachment_metadata($file->ID, $metadata);
                do_action('sm:synced::nonImage', $id, $metadata);
              } else {
                // Ephemeral and Stateless modes: we don't need the local version.
                if (ud_get_stateless_media()->get('sm.mode') === 'ephemeral' || ud_get_stateless_media()->get('sm.mode') === 'stateless') {
                  @unlink($fullsizepath);
    
                  $metadata = wp_get_attachment_metadata($file->ID);