Skip to content

Instantly share code, notes, and snippets.

@ideadude
Created December 26, 2017 17:34
Show Gist options
  • Save ideadude/35ee66e0a7ceafaa6fe4df22df2bd115 to your computer and use it in GitHub Desktop.
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
/*
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