Channel_Synchronizer::initial_sync()
Summary
Run an initial sync if channels have not been previously imported
Return
(void)
Source
File: src/BigCommerce/Taxonomies/Channel/Channel_Synchronizer.php
public function initial_sync() { $terms = get_terms( [ 'taxonomy' => Channel::NAME, 'hide_empty' => false, ] ); if ( empty( $terms ) ) { $this->sync(); } }