Skip to content

Fire an action when order limits are active #56

Description

@stevegrunwell

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 );

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions