Banner for Advanced Code Recipe Tutorial for Paid Memberships Pro

To protect you from accidentally editing member orders, the core PMPro plugin leaves the order’s unique code, payment_transaction_id, and subscription_transaction_id as read-only. There are certain cases where the administrator or membership manager may need to edit certain fields on a member’s order.

This recipe uses the pmpro_orders_read_only_fields filter to make all fields or certain fields editable for these cases.

This content requires a premium membership plan.