Football Pool
[resolved] How to define points in group stage? (3 posts)

  1. crodexter
    Posted 3 years ago #


    I plan to use plugin for other sport.
    Can you tell me how can I change points that are added to team for a win?
    Thank you.


  2. AntoineH
    Plugin Author

    Posted 3 years ago #


    Line 171 in the file classes\class-football-pool-groups.php gives 3 points for every win and 1 point for a draw.

    $points = ( $wins * 3 ) + $draws;

    If you change that line, you can alter the scoring of teams.

    I'll add a plugin option to the admin for this in the next version. That way your change won't get overwritten in future updates of the plugin code (and others may benefit from this as well).

    p.s. I didn't test the change. So if it doesn't work, please let me know and I'll look into it in more detail.

  3. crodexter
    Posted 3 years ago #


    Thanks for quick replay. I have to create test site and I will let you know after I test it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Football Pool
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.