Plugin Directory

Changeset 3259545


Ignore:
Timestamp:
03/21/2025 07:12:46 AM (13 months ago)
Author:
mustangpay
Message:

update desc and title

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mustangpay/trunk/src/PaymentGateway.php

    r3258937 r3259545  
    3232        $this->id = Mustangpay_Custom_Payment_ID;
    3333       
    34         $this->method_title = __('Mustang Pay', 'mustangpay');
    35 
     34        $this->method_title = __('MustangPay', 'mustangpay');
     35         
    3636       
    3737        $this->method_description = __('Mustang Pay gateway payment provides functions such as cash register payment.', 'mustangpay');
     
    4747        }
    4848   
    49         $this->title =  'Mustang Pay';
     49        $this->title =  'MustangPay';     
    5050       
    5151        // Payment gateway title
     
    5353        $this->icon = apply_filters( 'mustangpay_wechat_icon', Mustangpay_Custom_Payment_URL . '/images/pay.svg' );
    5454       
    55         //$this->description        = $this->get_option ( 'description' );
    56         $this->description        = '';
    57         //$this->instructions       = '';
     55        $this->description        = $this->get_option ('description' );
     56       
     57       
     58       
     59        //$this->description        = "South Africa's trusted payment gateway offering secure card payments and EFT services.";
     60       
     61       
    5862        $this->has_fields = false;
    5963        //$this->multi_currency_enabled = in_array( 'woocommerce-multilingual/wpml-woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ), true ) && get_option( 'icl_enable_multi_currency' ) === 'yes';
     
    8589                        'section'     => 'default'
    8690                ),
     91                    'description' => array (
     92                        'title'       => __("Payment gateway description",Mustangpay_Custom_Payment),
     93                        'type'        => 'textarea',
     94                        'default'     => __("South Africa's trusted payment gateway offering secure card payments and EFT services.",Mustangpay_Custom_Payment),
     95                        'desc_tip'    => true,
     96                        'css'         => 'width:400px',
     97                        'section'     => 'default'
     98                ),
    8799            /*  'title' => array (
    88100                        'title'       => __('Payment gateway title',Mustangpay_Custom_Payment),
     
    93105                        'section'     => 'default'
    94106                ),
    95                 'description' => array (
    96                         'title'       => __('Payment gateway description',Mustangpay_Custom_Payment),
    97                         'type'        => 'textarea',
    98                         'default'     => '',
    99                         'desc_tip'    => true,
    100                         'css'         => 'width:400px',
    101                         'section'     => 'default'
    102                 ),*/
     107            */
    103108                /*'instructions' => array(
    104109                        'title'       => __( 'Instructions', Mustangpay_Custom_Payment ),
Note: See TracChangeset for help on using the changeset viewer.