# sellkit/1.3.2/includes/dynamic-keywords/keywords/customer-provided-note.php

SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster, version 1.3.2. 44 lines.

- Page: https://pluginprobe.com/plugins/sellkit/1.3.2/code/includes/dynamic-keywords/keywords/customer-provided-note.php
- Raw: https://pluginprobe.com/plugins/sellkit/1.3.2/raw/includes/dynamic-keywords/keywords/customer-provided-note.php
- Modified: 2022-10-31T08:54:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/sellkit/1.3.2/code/includes/dynamic-keywords/keywords/customer-provided-note.php#L10-L20`.

```php
<?php

class Customer_Provided_Note extends Tag_Base {
	/**
	 * Get class id.
	 *
	 * @return string
	 */
	public function get_id() {
		return '_customer_provided_note';
	}

	/**
	 * Get class title.
	 *
	 * @return string
	 */
	public function get_title() {
		return esc_html__( 'Customer Provided Note', 'sellkit' );
	}

	/**
	 * Render true content.
	 *
	 * @param array $atts array of shortcode arguments.
	 * @return string
	 */
	public function render_content( $atts ) {
		$this->get_data();

		if ( empty( self::$order ) ) {
			return $this->shortcode_content( $atts );
		}

		$order_data = self::$order->get_data();

		if ( empty( $order_data['customer_note'] ) ) {
			return $this->shortcode_content( $atts );
		}

		return $order_data['customer_note'];
	}
}

```
