Support » Plugin: My Tickets » Filter member discount

  • Resolved Csaba (LittleBigThings)

    (@littlebigthing)


    Hi,

    Great product.
    However, I have a question. I am using it together with a membership plugin (Restrict Content Pro). I would like to be able to apply the member discount only to members, instead of simply logged in users. Is there a way to filter when/for whom the discount is applied?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    My Ticket’s discounts is a premium plug-in, not hosted at WordPress.org, so I can only answer questions about it via my private support mechanisms. Use the form built into the plug-in to request support. Thanks!

    Thread Starter Csaba (LittleBigThings)

    (@littlebigthing)

    Ow Iā€™m sorry, but I did not mean discount codes, but the general setting for Member discount in the plugin at wp.org.
    Thanks!

    Plugin Author Joe Dolson

    (@joedolson)

    Ah, of course! I just answered a question about that via external support, but I’ll copy the answer here, as well:

    There is a filter for the discounts setting. It’s on line 183 of mt-processing.php, and has these arguments:

    $discount = apply_filters( 'mt_members_discount', $discount, $event_id, $payment_id );

    Thread Starter Csaba (LittleBigThings)

    (@littlebigthing)

    Great, thank you very much! šŸ™‚

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Filter member discount’ is closed to new replies.