$tab ) { if ( $key == 'custom_tab' ) { $content = APPMAKER_WC_REST_Products_Controller::return_data( $tab['callback'], array( $key, $tab ) ); $content=''. ' '.''.$content; $return[ $key ] = array( 'type' => 'menu', 'expandable' => isset( $tab['expandable'] ) ? $tab['expandable'] && true : true, 'expanded' => isset( $tab['expanded'] ) ? $tab['expanded'] && true : false, 'title' => APPMAKER_WC_REST_Products_Controller::decode_html( apply_filters( 'woocommerce_product_' . $key . '_tab_title', esc_html( $tab['title'] ), $key ) ), 'content' => $content, 'action' => array( 'type' => 'OPEN_IN_WEB_VIEW', 'params' => array( 'html' => $content, 'title' => APPMAKER_WC_REST_Products_Controller::decode_html( apply_filters( 'woocommerce_product_' . $key . '_tab_title', esc_html( $tab['title'] ), $key ) ), ), ), ); } } return $return; } } new APPMAKER_WC_Product_Size_Chart();