Il tuo carrello è vuoto!
Configurare Dettagli Ordine
apply_filters( 'vikappointments_setup_packages_order_details', bool $status, object $order, array $list )
Fires while binding the object holding the packages order details.
Description
External plugins can use this event to manipulate the object holding the details of the order. Useful to inject all the additional data fetched with the manipulation of the query.
Parameters
- $status
-
(bool) True on success, false on failure.
- $order
-
(object) The order details object.
- $list
-
(array) The query resulting array.
Example
/**
* External plugins can use this event to manipulate the object holding
* the details of the order. Useful to inject all the additional data
* fetched with the manipulation of the query.
*
* @param boolean $status True on success, false on failure.
* @param object $order The order details object.
* @param array $list The query resulting array.
*/
add_filter('vikappointments_setup_packages_order_details', function($status, $order, $list)
{
/**
* @todo it is possible to bind here the order object
*/
return $status;
}, 10, 3);
Changelog
Version | Description |
---|---|
1.2 | Introduced. |
Ultimo aggiornamento: 2021-08-21
Utile?