• Resolved sephirothff7

    (@sephirothff7)


    Hi,

    Thanks a million for this plugin. Really appreciate it.

    I was wondering if there is a filter available before saving points to the database on awards and deducts. So I will be able multiply the points by user_id.

    Something like,

    apply_filters( 'gamipress_before_points_save', $point_count, $user_id );

    Thanks again.

    • This topic was modified 10 months, 2 weeks ago by sephirothff7.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dioni Sánchez

    (@dioni00)

    Hi @sephirothff7,

    Maybe the following hook will be helpful to you to add functionalities to the points that users earn.

    do_action( ‘gamipress_award_points_to_user’, $user_id, $points, $points_type, $args );

    In the following link you can find example codes that may be useful:

    https://gamipress.com/customize/

    Best regards.

    Thread Starter sephirothff7

    (@sephirothff7)

    Hi,

    Thanks for replying.

    Yes, however, a filter would have been great. For example, I have 3 memberships levels by paid membership pro. I want to award 2x points to the premium level users.

    Honestly, I was amazed. This plugin is one of the most customisable and widely covered plugins that the wordpress has to offer.

    It would great if you consider a filter.

    Cheers!

    • This reply was modified 10 months, 2 weeks ago by sephirothff7.
    Plugin Author Dioni Sánchez

    (@dioni00)

    Hi @sephirothff7,

    Thanks for your reply and thanks so much for your suggestion.

    We will consider it to include in future updates.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Information about filters’ is closed to new replies.