How to remove Value column from package table
Add this code to your child theme’s functions.php:
add_action( 'wp_head', 'remove_value_column_package_table' ); function remove_value_column_package_table(){ remove_filter( 'wpcargo_package_fields', 'wpcsr_package_fields' ); }
Or you can also use this code:
add_filter( 'wpcargo_package_fields', 'modify_package_fields' ); function modify_package_fields( $package_fields){ unset( $package_fields['wpc-pm-value'] ); return $package_fields; }