Looking at tabs.php in WooCommerce, the id attribute is prefixed with tab-title- and uses the key from the array of tabs. This means if you do $tabs['wptricksdk'] = array( ... ), the value of the tab’s id attribute would be tab-title-wptricksdk. Mixing numerical keys and string keys in arrays can get messy, but I think this should be okay.
If that’s not what you want, then you’ll need to use JavaScript to manipulate the document. This is probably not recommended, but ultimately up to you. Would be something like this after the tab’s markup has printed (untested):
document.querySelector( '#tab-title-wptricksdk' ).setAttribute( 'id', 'wptricksdk' );
Note that this may break WooCommerce’s JavaScript functionality.
Related Posts:
- Show only geolocated user country into Woocommerce checkout country fields
- Reverse engineering of WooCommerce Storefront filters
- How to modify “[Product] has been added to your cart” in WooCommerce?
- WordPress codex: apply_filters – clarification on creating a new hook on the fly. How do we use it?
- Is there a Woocommerce hook that fires when applying a coupon but before checking if it’s valid?
- Filter on a custom product attribute in WooCommerce using meta_query or tax_query [closed]
- Rewriting Woocommerce Product Filters To URL Segments
- What is the action hook for an order that fails on frontend checkout in WooCommerce?
- woocommerce_get_price filter hook not working for product variation price
- Hide tabs on woocommerce product editor for user role
- Move WooCommerce product tabs out of the tabs [closed]
- Accessing parameters when adding filter
- Using a filter with multiple parameters and $this
- Woocommerce: custom loop in product tabs breaks reviews tab
- Woocommerce – Want to move the product tabs below short description
- Remove add to cart icon/view product button woocommerce
- Separeting product from post in search result
- Woocommerce get billing state manually
- Redirect customer to login page (with other signup plugin) if user not logged in when proceeding to checkout
- Woocommerce: Complex query in pre_get_posts [closed]
- Using a filter to change a path
- Pre filter woocommerce products to remove a certain category of products
- Remove link from product attributes in tab “additional information” [closed]
- How to apply these filters
- How to add order status class to the body tag?
- Redirect no product url’s to static url
- What Hook/Action is performed when a field in checkout form is changed in WooCommerce
- How can I remove a WooCommerce Product Tab’s sub section in wp-admin?
- How do I create a filter to hide the One Click Accessibility plugin button in WordPress?
- manage_shop_order_posts_custom_column() hook is Not working In Functions.php file in my WordPress active theme
- Display custom product option in admin order details
- How to create a WooCommerce Product filter based on PHP foreach
- Woocommerce : Add name filed of checkout page to buyers wordpress display name
- Two Filter Issue [closed]
- apply_filter and add_filter conflict
- Woocommerce – Hide shipping at all, if only certain product or products with certain shipping class is in the cart
- Running JavaScript after using WooCommerce Filter Plugin
- Redirecting orders by company field
- Combine one action and one filter
- Change order of combined product tabs
- I’m getting error Ultimate WooCommerce Filters
- How to add woocommerce product price filter widget to other page
- How can i add product Accessories from front-end using custom php form?
- How to change lost password email text using custom plugin wordpress?
- Overriding Plugin function in your child theme
- Update / refresh mini cart, after custom AJAX add_to_cart event
- Filter orders in Admin area based on logged in user
- WooCommerce Tax Filter Not Working
- Add suffix to price html does not work
- woocommerce price filter not working when change currency
- With what hook do I remove WooCommerce existing Product Data Tab form fields?
- AffiliateWP not calculating multiple quantities when using affwp_calc_referral_amount filter
- Add second price option based on payment method at cart item price
- How to get the attributes based on dependency in woocommerce?
- Translate Woocommerce tab
- Reposition variation stock message
- How to change or add Woocommerce thank you page URL key content?
- Menu not show woocommerce product category
- Orders being sent to wrong admin email in WooCommerce [closed]
- What is the right hook to use in WooCommerce for handling the post of the sale price?
- Add Additional “Checkout” button next to “Add to cart” button in woocommerce product page
- How to get all products from an order including variations via SQL query?
- Woocommerce change tax rate programmaticly
- Run function on “Place Order” [closed]
- Woocommerce Customs Endpoint
- Changing the Woocommerce breadcrumb menu [closed]
- Set a custom field to all orders
- Force User Registration before visitng Checkout Page
- Complex price options. Am I stuck with 180 variations?
- Position image widget in mega menu
- short description in shop page after title
- WooCommerce Cart URL bug
- WP_Error on attribute + term insert
- change woocommerce product statut (draft ->publish // publish->draft) depends on the month [closed]
- woocommerce breadcrumbs in theme [closed]
- Convert WordPress Woocomerce product to WordPress post
- How to rewrite product permalinks in Woocommerce to use category slugs
- Woocommerce – Change the template?
- Wooocommerce disable check_cart_item_stock if cart item has specific meta
- Force meta data on specific product type
- WP/WooCommerce multisite with polylang, product duplication between websites [closed]
- Functions.php change for Woocommerce not working
- Woocommerce Register Error
- Need to check if user has completed a woo commerce payment
- unable to customize query to get filtered products by meta_key
- Woocommerce + Google Analytics (Conversion Rate Not Working)
- send order detail to swiftpos
- WordPress Woocommerce REST API JSON Error
- data-value for custom woocommerce field showing in code but not visable on page load
- Update user meta when customer update their first name
- How can we find a WooCommerce shop bottleneck? (only when cart is full)
- Override woocommerce loop-start.php from theme using plugin?
- Files names changed (with strange characters) after being uploaded to cpanel
- woocommerce_add_to_cart custom function called several times
- Display product variations in shop page
- How to fix spacing in address tab in my account page
- How do I put woocommerce cart page to my checkout page? [closed]
- CSS url rules not relative to css path in account endpoint areas. IE. subscriptions
- Woocommerce permalink URL change in DB
- WooCommerce Webhook Action When a New Product Review was Submitted/Created