limit-orders icon indicating copy to clipboard operation
limit-orders copied to clipboard

Fire an action when order limits are active

Open stevegrunwell opened this issue 3 years ago • 1 comments

When OrderLimiter::disable_ordering() is called, an action should be fired to let other plugins get in on the action.

/**
 * Fires when ordering has been disabled.
 *
 * @param \Nexcess\LimitOrders\OrderLimiter $limiter The order limiter instance.
 */
do_action( 'limit_orders_disable_ordering', $this );

stevegrunwell avatar Oct 01 '20 14:10 stevegrunwell