| @@ 57-59 (lines=3) @@ | ||
| 54 | return false; |
|
| 55 | } |
|
| 56 | ||
| 57 | if ( $term_ids && is_array($term_ids) ) { |
|
| 58 | $this->log->debug( sprintf( "Synchronizing terms %s...", implode( ', ', $term_ids ) ) ); |
|
| 59 | } |
|
| 60 | // Sync the item. |
|
| 61 | return $this->sync_items( $term_ids ); |
|
| 62 | } |
|
| @@ 83-85 (lines=3) @@ | ||
| 80 | $this->push_to_queue( $next ); |
|
| 81 | $this->save()->dispatch(); |
|
| 82 | ||
| 83 | if ( $next && is_array($next) ) { |
|
| 84 | $this->log->debug( sprintf( 'Started with term IDs %s.', implode( ', ', $next ) ) ); |
|
| 85 | } |
|
| 86 | return true; |
|
| 87 | } |
|
| 88 | ||