Skip to content

Instantly share code, notes, and snippets.

@ideadude
Last active April 7, 2021 03:32
Show Gist options
  • Save ideadude/a4dd9d7b1a373e2adb7d865910b5d354 to your computer and use it in GitHub Desktop.
Save ideadude/a4dd9d7b1a373e2adb7d865910b5d354 to your computer and use it in GitHub Desktop.
Make all fields editable on the Orders page in the PMPro dashboard
<?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' );
@laurenhagan0306
Copy link

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment