Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WooCommerce Memberships: remove "end date" column from My Memberships table
<?php
// Only copy opening php tag if needed
// Remove the "End Date" column from the My Memberships table
function sv_remove_membership_end_date_column( $columns ) {
unset( $columns['membership-end-date'] );
return $columns;
}
add_filter( 'wc_memberships_my_memberships_column_names', 'sv_remove_membership_end_date_column' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment