• Is there a way to use a configuration via PHP or 3rd party plugin to display the matches’ schedule accordingly the user’s local timezone?
    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author AntoineH

    (@antoineh)

    There are 2 filters that you can hook into to change the display of the match time. Which one you need (or maybe both) depends which page you want to change.

    1. footballpool_match_table_match_template_params for the match table page.
    2. footballpool_predictionform_match_template_params for the prediction sheet.

    Both filters contain a parameter array in which you can overwrite the match time value. So your code should only hook into the filter, update the array value with the time corrected to the timezone and return the changed array.

Viewing 1 replies (of 1 total)
  • The topic ‘Userbased Timezone’ is closed to new replies.