Changeset 2310000
- Timestamp:
- 05/22/2020 07:33:01 AM (6 years ago)
- Location:
- brainity-boost-ads/trunk
- Files:
-
- 3 edited
-
brainity.php (modified) (1 diff)
-
pixel/FacebookWordpressPixelInjection.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
brainity-boost-ads/trunk/brainity.php
r2309734 r2310000 9 9 Author: Brainity 10 10 Author URI: https://www.brainity.co 11 Version: 1.0. 711 Version: 1.0.8 12 12 */ 13 13 -
brainity-boost-ads/trunk/pixel/FacebookWordpressPixelInjection.php
r2309723 r2310000 90 90 } 91 91 $product = wc_get_product( $post->ID ); 92 if ( ! $product instanceof \WC_Product ) { 92 $content_type = 'product_group'; 93 if ( ! $product ) { 93 94 return; 94 95 } … … 102 103 103 104 $content_ids = self::get_fb_content_ids($product); 104 if($this->isviewcontentRender == wp_json_encode($content_ids)) {105 return;106 }107 105 $this->isviewcontentRender = wp_json_encode($content_ids); 108 $this->pixel->inject_event( 'ViewContent', [106 FacebookPixel::inject_event( 'ViewContent', [ 109 107 'content_name' => $product->get_title(), 110 108 'content_ids' => $this->isviewcontentRender, -
brainity-boost-ads/trunk/readme.txt
r2309734 r2310000 4 4 Requires at least: 5.2.1 5 5 Tested up to: 5.2.1 6 Stable tag: 1.0. 76 Stable tag: 1.0.8 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 65 65 == Changelog == 66 66 67 = Brainity 1.0. 7=67 = Brainity 1.0.8 = 68 68 69 69 * Fix bug with virtual products.
Note: See TracChangeset
for help on using the changeset viewer.