Browse: Home / Hooks /

learndash_woocommerce_product_add_to_cart_text

apply_filters( 'learndash_woocommerce_product_add_to_cart_text',  string $text,  self $product )

Filters the add to cart button text.


Description #


Parameters #

$text

(string) The add to cart button text.

$product

(self) The product object.


Return #

(string) The add to cart button text.


Source #

File: includes/woocommerce/src/App/Models/Products/Course.php


Changelog #

Changelog
Version Description
5.2.0 Introduced.