sm::synced::nonMediaFiles

sm::synced::nonMediaFiles

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

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

  • /lib/classes/class-sync-non-media.php line 189
                ));
              }
    
              // Addon can hook this function to modify database after manual sync done.
              do_action('sm::synced::nonMediaFiles', $name, $absolutePath, $media); // , $media
    
              // Ephemeral mode: we don't need the local version.
              if ($args['ephemeral'] == true && ud_get_stateless_media()->get('sm.mode') === 'ephemeral') {
                unlink($absolutePath);
              }
    
    

See this hook used in plugins: