dokan_is_store_page()
Description # Checks if the current page is a store page or not. Parameters # None Return # (boolean) Whether the current page is a store… Read More »dokan_is_store_page()
Description # Checks if the current page is a store page or not. Parameters # None Return # (boolean) Whether the current page is a store… Read More »dokan_is_store_page()
Description # Check if order with the same id exists in the database. Parameters # $order_id (int) (Required) order id. Return # (boolean) true on… Read More »dokan_is_order_already_exists( $order_id )
Description # Get seller id by order id. Parameters # $id (int) (Required) order id. Return # (id) seller id. More information # Usage #… Read More »dokan_get_seller_id_by_order_id( $id )
Description # Export orders to a CSV file Parameters # $orders (array) (Required) list of orders. $file (string) (Optional) the file name to write. Default… Read More »dokan_order_csv_export( $orders, $file = null )
Description # Header rows for CSV order export. Return # (array) List of CSV header. More information # Usage # Output # The above code… Read More »dokan_order_csv_headers()
Description # Get customer order IDs by Seller Parameters # $customer_id (int) (Required) The customer id. $seller_id (int) (Required) seller id Return # (array|null) List… Read More »dokan_get_customer_orders_by_seller( $customer_id, $seller_id )
Description # Get admin/seller commission from an order. Parameters # $order (WC_Order) (Required) The order object $context (string) (Required) Context sting is for determining admin… Read More »dokan_get_admin_commission_by( $order, $context )
Method type # non-static Description # If the selling capacity is enabled. Parameter # Parameters not found in this method. Hooks # Hooks are not found in… Read More »WeDevs\Dokan\Vendor\Vendor::is_enabled()
Method type #non-static Description #Get all products from the database. There are some default arguments by which you can get all the products. And this… Read More »WeDevs\Dokan\Product:: all ( array $args )
Description # Get a list of suborders from the parent order. Parameters # $parent_order_id (int) (Required) the parent order id Return # (array) list of… Read More »dokan_get_suborder_ids_by( $parent_order_id )