Add_Products_Button::render_button()

Summary

No summary available.

Source

File: src/BigCommerce/Editor/Add_Products_Button.php

	public function render_button() {
		$label = __( 'Add Products', 'bigcommerce' );
		/**
		 * Filter the label of the Add Products button
		 *
		 * @param string $label The button label
		 */
		$label = apply_filters( 'bigcommerce/editor/shortcode_button/label', $label );

		return sprintf( '<button type="button" class="%s" data-js="%s" data-content="%s"><i class="%s"></i> %s</button>', self::BUTTON_CLASSES, self::BUTTON_TRIGGER, self::BUTTON_TARGET, self::BC_LOGO, $label );
	}


User Contributed Notes

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