WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Artem
    Member
    Posted 1 month 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 1 month 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

Reply

You must log in to post.

About this Plugin

About this Topic