• public function product_tabs_filter_content( $content ) {
    // .....
    if ( class_exists( 'WP_Embed' ) ) {
      $embed   = new \WP_Embed;
      $content = method_exists( $embed, 'autoembed' ) ? $embed->autoembed( $content ) : $content;
    }
    

    plugins\woocommerce-product-tabs\src\Product_Tabs.php:175
    just chnage new WP_Embed; to new \WP_Embed;

    • This topic was modified 4 months, 3 weeks ago by pakistanideas.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this review.