PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / 2.7.0
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster v2.7.0
2.7.0 2.6.0 trunk 1.1.0 1.1.4 1.2.1 1.2.2 1.2.3 1.2.5 1.2.9 1.3.1 1.3.2 1.5.0 1.5.1 1.5.4 1.5.7 1.5.8 1.5.9 1.6.2 1.6.5 1.6.8 1.7.2 1.7.4 1.7.5 1.7.9 All 43 releases
← All changes | includes/dynamic-keywords/keywords/order-payment-method.php +5 -8 1.1.02.7.0 View file →
@@ -1,13 +1,7 @@
1 1 <?php
2 2
3 3 class Order_Payment_Method extends Tag_Base {
4 -
5 - // phpcs:disable Generic.CodeAnalysis.UselessOverridingMethod
6 - public function __construct() {
7 - parent::__construct();
8 - }
9 -
10 4 /**
11 5 * Get class id.
12 6 *
13 7 * @return string
@@ -27,13 +21,16 @@
27 21
28 22 /**
29 23 * Render true content.
30 24 *
25 + * @param array $atts array of shortcode arguments.
31 26 * @return string
32 27 */
33 - public function render_content() {
28 + public function render_content( $atts ) {
29 + $this->get_data();
30 +
34 31 if ( empty( self::$order ) ) {
35 - $this->get_data();
32 + return $this->shortcode_content( $atts );
36 33 }
37 34
38 35 $order_data = self::$order->get_data();
39 36