Title: Filter for custom shortcode args
Last modified: August 31, 2016

---

# Filter for custom shortcode args

 *  [paddelboot](https://wordpress.org/support/users/paddelboot/)
 * (@paddelboot)
 * [10 years ago](https://wordpress.org/support/topic/filter-for-custom-shortcode-args/)
 * Hey,
 * It would be nice to have a filter for customizing the shortcode programmatically.
   That way, I could use this plugin with an existing product post type.
 * Thanks,
 * Michael
 * [https://wordpress.org/plugins/wordpress-easy-paypal-payment-or-donation-accept-plugin/](https://wordpress.org/plugins/wordpress-easy-paypal-payment-or-donation-accept-plugin/)

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

 *  Plugin Author [mra13 / Team Tips and Tricks HQ](https://wordpress.org/support/users/mra13/)
 * (@mra13)
 * [10 years ago](https://wordpress.org/support/topic/filter-for-custom-shortcode-args/#post-7399651)
 * It does have a couple of filters. If you tell me where you want a filter, I will
   add one.
 *  Thread Starter [paddelboot](https://wordpress.org/support/users/paddelboot/)
 * (@paddelboot)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/filter-for-custom-shortcode-args/#post-7399676)
 * Thanks.
 * In shortcode_view.php, there is a filter for the email:
 * `$email = apply_filters('wppp_widget_email', $email);`
 * If all the args were filtered, we could use a custom currency, reference, etc.
   This could be based on session or REQUEST data. It would make the button rendering
   more flexible, I think.
 *  Plugin Author [mra13 / Team Tips and Tricks HQ](https://wordpress.org/support/users/mra13/)
 * (@mra13)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/filter-for-custom-shortcode-args/#post-7399683)
 * You can already specify custom currency, reference etc. via the shortcode.
 * Have you read the following documentation page (the section with the other shortcode
   with parameters)?
    [https://www.tipsandtricks-hq.com/wordpress-easy-paypal-payment-or-donation-accept-plugin-120](https://www.tipsandtricks-hq.com/wordpress-easy-paypal-payment-or-donation-accept-plugin-120)

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

The topic ‘Filter for custom shortcode args’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-easy-paypal-payment-or-donation-accept-plugin/
   assets/icon-128x128.png?rev=2722524)
 * [Easy Accept Payments via PayPal](https://wordpress.org/plugins/wordpress-easy-paypal-payment-or-donation-accept-plugin/)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-easy-paypal-payment-or-donation-accept-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-easy-paypal-payment-or-donation-accept-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-easy-paypal-payment-or-donation-accept-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-easy-paypal-payment-or-donation-accept-plugin/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [mra13 / Team Tips and Tricks HQ](https://wordpress.org/support/users/mra13/)
 * Last activity: [9 years, 12 months ago](https://wordpress.org/support/topic/filter-for-custom-shortcode-args/#post-7399683)
 * Status: not resolved