SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. /**
  4.  * Order details URL
  5.  *
  6.  * Change the order details URL that is used on the Driver Dashboard, inside
  7.  * of the assigned orders table.
  8.  */
  9. function acme_driver_dashboard_assigned_orders_order_details_url( $url, $orderid ) {
  10.     $url = 'YOUR_URL_HERE';
  11.     return $url;
  12. }
  13. add_filter( 'ddwc_driver_dashboard_assigned_orders_order_details_url', 'acme_driver_dashboard_assigned_orders_order_details_url', 10, 2 );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top