sm:sync::queue_is_exists
sm:sync::queue_is_exists
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
See hook in action
Displaying hooks found in version: wp-stateless.4.1.2apply_filters('sm:sync::queue_is_exists') is found 3 times:
- /lib/classes/class-sync-non-media.php line 95
)); $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)); if (empty($this->client)) { $this->client = ud_get_stateless_media()->get_client();
- /lib/classes/class-sync-non-media.php line 327
* @return bool */ public function copy_file($old_file, $new_file, $force = false, $status = self::STATUS_COPIED) { try { if ( !$force && apply_filters('sm:sync::queue_is_exists', $new_file, $status) ) { return false; } $client = $this->get_gs_client(); // Copying file on GCS
- /lib/classes/compatibility/imagify.php line 228
*/ public function imagify_has_backup($return, $has_backup) { if (!$return && $has_backup) { $name = apply_filters('wp_stateless_file_name', $has_backup); $return = (bool) apply_filters('sm:sync::queue_is_exists', $name); } return $return; } /** * Synchronization after optmize process