Created
December 26, 2017 17:34
-
-
Save ideadude/35ee66e0a7ceafaa6fe4df22df2bd115 to your computer and use it in GitHub Desktop.
make all fields (including transaction ids) editable on the orders page in the PMPro dashboard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Make all fields (including transaction ids) editable on the orders page in the PMPro dashboard. | |
Add this code to a custom plugin. | |
*/ | |
function my_pmpro_orders_read_only_fields($fields) | |
{ | |
return array(); | |
} | |
add_filter('pmpro_orders_read_only_fields', 'my_pmpro_orders_read_only_fields'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment