Skip to content

Fire an action when order limits are active #56

@stevegrunwell

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

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