@mmm thanks for that code, I didnt know this filter yet. Do you know if it is also possible to add a tooltip that way?
Anyway, I have a different solution to add a new button to this column, and also want to post it:
add_action( 'woocommerce_admin_order_actions_end', 'add_content_to_wcactions_column' );
function add_content_to_wcactions_column() {
// create some tooltip text to show on hover
$tooltip = __('Some tooltip text here.', 'textdomain');
// create a button label
$label = __('Label', 'textdomain');
echo '<a class="button tips custom-class" href="#" data-tip="'.$tooltip.'">'.$label.'</a>';
}
Just replace the tooltip and label text and add your url in the link.
I tested the above code on an empty installation and this is what I get:
Related Posts:
- WooCommerce get Shipping Class of product from either the product id or the order after order is completed
- How to iterate through custom posts and add the title to an array
- product-attribute-slug-is-too-long-28-characters-max
- get all products of one category
- Add multiple shipping rates from add_rate function with custom ID
- set_sale_price in WooCommerce [closed]
- Woocommerce – Hide a Column in Cart Table
- Print value of an array or variable in a payment plugin
- How to get orders with used coupon in WooCommerce
- How to update total price of completed order in woocommerce? [closed]
- $wpdb -> Batch insert from XML File?
- How do I change the initial quantity of a product in woocommerce?
- Order properties should not be accessed directly
- How to check if Woocommerce Order number equals to post ID?
- How plugins_loaded works?
- Custom attribute type not displaying terms in edit product – WooCommerce
- WooCommerce registration password field not displaying
- Show special field when correct shipping is chosen
- WooCommerce Admin Reports : Get custom product report based on date range
- Adding a brand column to WooCommerce Products
- Woocommerce checkout update totals with datepicker
- Strange issue saving custom field data for a WooCommerce order
- Woocommerce – Convert Delivery method into a custom field
- “import declarations may only appear at top level of a module” when importing WooCommerce API node module
- Woocommerce extend tax report with custom column
- Show disclaimer with accept button before redirecting to the payment gateway website
- How do I apply a custom discount to individual product total prices depending on their categories on the cart and checkout pages of WooCommerce? [closed]
- In woocommerce cart item we can add custom text but how can i add custom link? [closed]
- Updating Woocommerce Settings API when WordPress Settings API saved and vise versa
- Can’t get woocommerce_get_price_html to work [closed]
- How to restrict access to image folder depending on whether product is purchased or not?
- How to extend WooCommerce API to show bookable product availability rules?
- Customize WooCommerce my account dashboard through plugin
- woocommerce_checkout_order_processed hook executing function twice
- Is there a way in which I can compare product id with the order id to display content on front end before placing the order? [closed]
- Woocommerce Composite Products – Add a composite product to cart programmatically via ajax [closed]
- Change WooCommerce Email Header using custom plugin
- UWooCommerce – add cart discount programmatically?
- Remove an action by extending class and replacing it
- Woocommerce order empty items array
- Woocommerce inventory [closed]
- WooCommerce change Tax Class programmatically when Recalculating an existing Order [closed]
- How to change WooCommerce loop product title HTML output in single product page and archive page
- Sending an SMS on new order placed – WooCommerce
- Can we use a library under MIT license in a WooCommerce plugin?
- Set _regular_price 0 if empty in woocommerce product
- WooCommerce Endpoints content
- How remove trashed WooCommerce orders from wc_get_orders() result?
- How to call code when adding WooCommerce menu items via woocommerce_account_menu_items
- Duplicate shipping method logic to another shipping method [closed]
- Custom Plugin Options Won’t Update
- Hide one specific woocoomerce product
- get_shipping_methods() return empty rate
- wp_schedule_single_event is set correctly but sometimes not fired
- Dynamic page generation upon purchase of a product
- Change reminder email date to 14 days before
- Make a php array load faster
- How to make every image title equal to alt text(wordpress/woocommerce)?
- Create Woocommerce product without creating api credentials
- Pass Values in URL on WooCommerce Product Page
- Woocommerce place order update shipping price
- Add custom product data using javascript when add to cart button is clicked
- product-attribute-slug-is-too-long-28-characters-max
- Trying to run a Ajax request from a checkout form in woocommerce via a custom plugin
- “add to cart” links css class “ajax_add_to_cart” doesn’t show in woocommerce in widget sidebar
- Securing custom rest API endpoints with public access from PWA
- How do I add filter with woocommerce categories?
- Getting products information, in woocommerce based on products ID
- How to direct WordPress to load custom template for custom post type
- PHPUnit Testing and woocommerce Constant
- Redirect WooCommerce checkout to cart
- WC REST API Error Handling
- Woocommerce Product finder feature on home page
- want to confirm popup with “Yes” and “No” button when user click on add to cart
- How to remove the WooCommerce Product->Category thumbnail from admin [closed]
- Woocommerce Single Product Tabs Got Duplicate
- Woocommerce product not appearing in category list page when created programatically [closed]
- Override WooCommerce files from plugin
- woocommerce add a new bulk action in the bulk actions dropdown in the orders list
- How to trigger WooCommerce user profile edit change?
- Override theme’s WooCommerce file
- WordPress Reset password Strength set to medium
- How to use functions from Woocommerce documentation?
- external Integration with wordpress timeout error
- Handle changed Woocommerce function
- Making Woocommerce optimized for more than 500k products
- Woocommerce Custom Checkout
- WP: adding Javascript to specific woo commerce pages
- Declaring a new woo commerce product type i get this error
- How to only Load scripts on variable products page
- How to design WooCommerce-like admin tabs for plugin settings page?
- Woocommerce: block user removing cart item
- how do I find out if a placed order was deleted or trashed? [closed]
- What is the meta_query key name for the woo product average rating? [closed]
- Trigger a JavaScript function based on the data fetched from Woo commerce hook
- Return custom product in ajax call loop
- WooCommerce adds a newline symbol (\n) between email recipients
- Allow HTML in product attributes and variation for WooCommerce
- How do I add multiple custom menu Woo-commerce my account page?
- I want to redirect user to an amazon product page from my wordpress website when they add product to there cart [closed]