Plugin Directory

Changeset 2753561


Ignore:
Timestamp:
07/08/2022 06:44:07 AM (4 years ago)
Author:
boldpay
Message:
  1. Remove description at checkout page
Location:
bold-pay
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • bold-pay/trunk/index.php

    r2739769 r2753561  
    44 * Plugin URI: https://boldpay.cc/login
    55 * Description: BOLD.Pay is a cloud-based multi-channel payment access plugin for WooCommerce.
    6  * Version: 1.5.3
     6 * Version: 1.5.4
    77 * Author: MACROKIOSK
    88 * Author URI: https://www.macrokiosk.com/
     
    3030
    3131        return $methods;
     32    }
     33
     34    //remove payment gateway description at checkout page
     35    add_filter( 'woocommerce_gateway_description', 'payment_gateway_description', 25, 2 );
     36
     37    function payment_gateway_description( $description, $gateway_id ) {
     38
     39        if( 'boldpay' === $gateway_id ) {
     40            $description = null;
     41        }
     42
     43        return $description;
    3244    }
    3345}
  • bold-pay/trunk/readme.txt

    r2739769 r2753561  
    55WooCommerce requires at least: 2.6.0
    66WooCommerce tested up to: 6.5.1
    7 Stable tag: 1.5.3
     7Stable tag: 1.5.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • bold-pay/trunk/src/boldpay.php

    r2739769 r2753561  
    5050                'desc_tip' => __( 'Payment gateway title that customer will see at checkout page.', 'boldpay' ),
    5151                'default'  => __( 'BOLD.Pay', 'boldpay' ),
    52                 'custom_attributes' => array('readonly' => 'readonly'),
    53             ),
    54             'description'    => array(
    55                 'title'    => __( 'Description', 'boldpay' ),
    56                 'type'     => 'textarea',
    57                 'desc_tip' => __( 'Payment description the customer will see during the checkout process.', 'boldpay' ),
    58                 'default'  => __( 'Pay securely with Credit Card, Online Banking & e-wallet through BOLD.Pay (Malaysia Ringgit Only).', 'boldpay' ),
    59                 'css'      => 'max-width:350px;',
    6052                'custom_attributes' => array('readonly' => 'readonly'),
    6153            ),
Note: See TracChangeset for help on using the changeset viewer.