Factory.php
1 week ago
IMedia.php
1 week ago
NonTranslatable.php
1 week ago
Translatable.php
1 week ago
NonTranslatable.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WCML\Media\Wrapper; |
| 4 | |
| 5 | class NonTranslatable implements IMedia { |
| 6 | |
| 7 | public function add_hooks() {} |
| 8 | |
| 9 | public function product_images_ids( $product_id ) { |
| 10 | return []; |
| 11 | } |
| 12 | |
| 13 | public function sync_thumbnail_id( $orig_post_id, $trnsl_post_id, $lang ) {} |
| 14 | |
| 15 | public function sync_variation_thumbnail_id( $variation_id, $translated_variation_id, $lang ) {} |
| 16 | |
| 17 | public function sync_product_gallery( $orig_post_id, $trnsl_post_id, $lang ) {} |
| 18 | |
| 19 | public function sync_product_gallery_to_all_languages( $product_id ) {} |
| 20 | |
| 21 | public function create_base_media_translation( $attachment_id, $parent_id, $target_lang ) { |
| 22 | return 0; |
| 23 | } |
| 24 | |
| 25 | public function sync_product_gallery_duplicate_attachment( $att_id, $dup_att_id ) {} |
| 26 | } |
| 27 |