Wishlist_New_Link

Summary

Class Wishlist_New_Link


Description

Renders the “New Wish List” button as a link


Source

File: src/BigCommerce/Templates/Wishlist_New_Link.php

class Wishlist_New_Link extends Wishlist_New_Button {
	protected $template = 'components/wishlist/new-link.php';

	protected function required_attributes() {
		$attributes = parent::required_attributes();
		unset( $attributes['type'] );
		$attributes['href'] = '#';

		return $attributes;
	}
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.