sm:sync::nonMediaFiles
sm: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: filter
See hook in action
Displaying hooks found in version: wp-stateless.4.1.2apply_filters('sm:sync::nonMediaFiles') is found 2 times:
- /lib/classes/sync/class-non-library-sync.php line 28
/** * Extended construct */ public function __construct() { //$this->items = array_filter(array_unique(apply_filters('sm:sync::nonMediaFiles', []))); parent::__construct(); } /** * Get sync name *
- /lib/classes/sync/class-non-library-sync.php line 65
// Make sure there is no orphaned data and state delete_site_option($this->get_stopped_option_key()); $this->clear_process_meta(); $this->items = array_filter(array_unique(apply_filters('sm:sync::nonMediaFiles', []))); $chunks = array_chunk($this->items, $this->get_max_batch_size()); if (!empty($chunks)) { foreach ($chunks as $chunk) { foreach ($chunk as $item) { $this->push_to_queue($item);