/** * Get the add to cart button text * * @access public * @return string */ public function add_to_cart_text() { if ($this->is_purchasable() && $this->is_in_stock()) { $text = get_option(WC_Subscriptions_Admin::$option_prefix . '_add_to_cart_button_text', __('Sign Up Now', 'woocommerce-subscriptions')); } else { $text = parent::add_to_cart_text(); // translated "Read More" } return apply_filters('woocommerce_product_add_to_cart_text', $text, $this); }