sm:sync::syncArgs

sm:sync::syncArgs

Appears in:
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wp-stateless.4.1.1

apply_filters('sm:sync::syncArgs') is found 1 times:

  • /lib/classes/class-sync-non-media.php line 93
              'remove_from_queue' => false, // removes entry from queue table if both file is missing.
              'name_with_root' => true,
            ));
    
            $args = apply_filters('sm:sync::syncArgs', $args, $name, $absolutePath, $forced);
    
            if ( apply_filters('sm:sync::queue_is_exists', $name, self::STATUS_SYNCED) && !$forced) {
              return false;
            }
    
            $file_type = Utility::mimetype_from_extension(pathinfo($absolutePath, PATHINFO_EXTENSION));
    

See this hook used in plugins: