Title: Some parameter add into your plugin
Last modified: April 27, 2020

---

# Some parameter add into your plugin

 *  [scatterinstruments](https://wordpress.org/support/users/scatterinstruments/)
 * (@scatterinstruments)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/some-parameter-add-into-your-plugin/)
 * Dear brother,
    Our bank need to add some parameter, how we can add parameter 
   in your plugin, Like order item detail in this link , in all parameter tab.
 * [https://test-bankalfalah.gateway.mastercard.com/api/documentation/apiDocumentation/rest-json/version/latest/operation/Session%3a%20Create%20Checkout%20Session.html?locale=en_US](https://test-bankalfalah.gateway.mastercard.com/api/documentation/apiDocumentation/rest-json/version/latest/operation/Session%3a%20Create%20Checkout%20Session.html?locale=en_US)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Ali Basheer](https://wordpress.org/support/users/alibasheer/)
 * (@alibasheer)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/some-parameter-add-into-your-plugin/#post-12746482)
 * Hi [@scatterinstruments](https://wordpress.org/support/users/scatterinstruments/),
 * You need to edit the plugin files, as currently, it doesn’t support more parameters.
 * But thank you for your question, this gave me the idea of adding a WordPress 
   filter to the parameters, so you (and anyone using the plugin) can edit the parameters
   by add_filter. I will work on this in the future.
 *  Thread Starter [scatterinstruments](https://wordpress.org/support/users/scatterinstruments/)
 * (@scatterinstruments)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/some-parameter-add-into-your-plugin/#post-12746530)
 * Brother,
 * I edit the file, but did not success, that way i send you questions,
 * Can you gave a example how i will add filter ?
 *  Plugin Author [Ali Basheer](https://wordpress.org/support/users/alibasheer/)
 * (@alibasheer)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/some-parameter-add-into-your-plugin/#post-12765155)
 * Currently, you need to edit the plugin to do that.
 * Lines from 214 to 220 where I am setting the “Create Checkout Session” parameters.
   
   [https://github.com/alibasheer/woo-mpgs/blob/master/woo-mpgs.php#L214](https://github.com/alibasheer/woo-mpgs/blob/master/woo-mpgs.php#L214)
 * and starting line 286 I am setting the checkout payment request:
    [https://github.com/alibasheer/woo-mpgs/blob/master/woo-mpgs.php#L286](https://github.com/alibasheer/woo-mpgs/blob/master/woo-mpgs.php#L286)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Some parameter add into your plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-mpgs_fafafa.svg)
 * [WooCommerce MPGS](https://wordpress.org/plugins/woo-mpgs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-mpgs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-mpgs/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-mpgs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-mpgs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-mpgs/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ali Basheer](https://wordpress.org/support/users/alibasheer/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/some-parameter-add-into-your-plugin/#post-12765155)
 * Status: not a support question