sm::pre::sync::nonMediaFiles
sm::pre::sync::nonMediaFiles
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: action
See hook in action
Displaying hooks found in version: wp-stateless.4.1.2do_action('sm::pre::sync::nonMediaFiles') is found 1 times:
- /lib/classes/class-sync-non-media.php line 111
$file_copied_from_gcs = false; $local_file_exists = file_exists($absolutePath); do_action('sm::pre::sync::nonMediaFiles', $name, $absolutePath); // , $media if (!$local_file_exists && ($args['download'] || ud_get_stateless_media()->get('sm.mode') !== 'ephemeral' || ud_get_stateless_media()->get('sm.mode') !== 'stateless')) { // Try get it and save $result_code = $this->client->get_media($name, true, $absolutePath); if ($result_code == 200) {