WordPress.org

Forums

WP-PostRatings
[resolved] Plugin customization (4 posts)

  1. Artem P.
    Member
    Posted 11 months ago #

    Hello,

    It's possible to add some actions/filters to hook most common functionality? For example I need to add my own logging method to use it instead of available ones. So, would be great to have e.g. filter for "postratings_logging_method" in the function check_rated() and to add filter to customize $rate_user and $rate_userid in the process_ratings() before inserting to the database.

    Thanks.

    https://wordpress.org/plugins/wp-postratings/

  2. Lester Chan
    Member
    Plugin Author

    Posted 11 months ago #

    Sure, you can fork the plugin https://github.com/lesterchan/wp-postratings and add those filter that you want and send me back a pull request or add it to the issues here https://github.com/lesterchan/wp-postratings/issues/28 and I will add it in when I am free

  3. Lester Chan
    Member
    Plugin Author

    Posted 9 months ago #

  4. Lester Chan
    Member
    Plugin Author

    Posted 9 months ago #

Reply

You must log in to post.

About this Plugin

About this Topic