List of plugin code modifications

Expire Users
======================
/wp-content/plugins/expire-users/admin/expire-user.php

– Mark ‘Expire’ Actions as hidden with display: none;
– Remove link to ‘message text’ editor

/wp-content/plugins/expire-users/admin/notifications.php
– Remove the user notification from the array.

WooCommerce Print Invoice & Packing Slips
===================================
/wp-content/plugins/woocommerce-pip/includes/class-wc-pip-document-invoice.php
Line 53: Change order of items in array.
Line 169: Change order of items in array.
Line 117: Change ‘Invoice’ to ‘Pick Slip’

Notes: ‘Quantity’ should be before SKU and the ‘Invoice’ template is being used as a pick slip.

Add code to indicate if it’s a dropship order:

       //Print dropship user role if applicable
        $customer_id = $order->get_user_id();
        if (agline_is_user_dropship_customer($customer_id)) {
            echo '<h1>Dropship Order</h1>';
            echo '<p>This order has already been paid for at the time of order placement. Do not bill.</p>';
            echo '<p>Order placed by: <strong>' . agline_get_display_name($customer_id) . '</strong></p>';
        }

/wp-content/plugins/woocommerce-pip/includes/admin/class-wc-pip-orders-admin.php
Line 641: Remove the ‘Packing list’ menu items and rename the ‘Invoice’ items to ‘Order Details’
Line: 726: Change content menu title to ‘Pick List’

/wp-content/plugins/woocommerce-pip/templates/pip/content/order-table-after.php

<?php
//Inject a purchase order number
$po_number = get_post_meta( $order->get_id(), '_po_number', true );
if ( $po_number ) {
echo '<h3>P.O. Number</h3>' . $po_number;
}
?>

WooCommerce Variations Table
======================================

/wp-content/woo-variations-table/woo-variations-table.php
~line 1617: Remove everything in function under “//Display fields”

Remove the ‘data-price’ fields from the TD and TR fields so prices are properly hidden on the frontend.

~770
Where the is_purchaseable class is added to the table row (tr)
Inject zero stock so we can use it with a CSS selector

'. ($varstock<1 ? 'zero_stock' : '' ) .'

WooCommerce Purchase Order Gateway
======================================
/wp-content/plugins/woocommerce-gateway-purchase-order/classes/class-woocommerce-gateway-purchase-order.php
~line 147: Change ‘on-hold’ to ‘processing’

$order->update_status( 'processing', __( 'Waiting to be processed', 'woocommerce-gateway-purchase-order' ) );