# sellkit/1.5.1/includes/dynamic-keywords/keywords/order-payment-method.php

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

- Page: https://pluginprobe.com/plugins/sellkit/1.5.1/code/includes/dynamic-keywords/keywords/order-payment-method.php
- Raw: https://pluginprobe.com/plugins/sellkit/1.5.1/raw/includes/dynamic-keywords/keywords/order-payment-method.php
- Modified: 2022-12-13T08:04:16+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.5.1/code/includes/dynamic-keywords/keywords/order-payment-method.php#L10-L20`.

```php
<?php

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

	/**
	 * Get class title.
	 *
	 * @return string
	 */
	public function get_title() {
		return esc_html__( 'Order Payment Method', '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();

		return $order_data['payment_method_title'];
	}
}

```
