Last active
April 7, 2021 03:32
-
-
Save ideadude/a4dd9d7b1a373e2adb7d865910b5d354 to your computer and use it in GitHub Desktop.
Make all fields editable on the Orders page in the PMPro dashboard
This file contains 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
<?php | |
/** | |
* Make all fields editable on the Orders page in the PMPro dashboard. | |
* | |
*/ | |
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
This recipe is included in the blog post on "Make All Order Fields Editable in the Memberships > Orders Admin Page." at Paid Memberships Pro here: https://www.paidmembershipspro.com/make-all-order-fields-editable-in-the-memberships-orders-admin-page/