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

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

- Page: https://pluginprobe.com/plugins/sellkit/1.1.4/code/includes/dynamic-keywords/keywords/order-payment-method.php
- Raw: https://pluginprobe.com/plugins/sellkit/1.1.4/raw/includes/dynamic-keywords/keywords/order-payment-method.php
- Modified: 2022-04-14T05:16:22+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.1.4/code/includes/dynamic-keywords/keywords/order-payment-method.php#L10-L20`.

```php
<?php

class Order_Payment_Method extends Tag_Base {

	// phpcs:disable Generic.CodeAnalysis.UselessOverridingMethod
	public function __construct() {
		parent::__construct();
	}

	/**
	 * 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.
	 *
	 * @return string
	 */
	public function render_content() {
		if ( empty( self::$order ) ) {
			$this->get_data();
		}

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

		return $order_data['payment_method_title'];
	}
}

```
