• Resolved dave101

    (@dave101)


    Hello, I love the plugin.
    My query is: In the “function show_match_info ($ info)” file class-football-pool-statistics.php. Show the names of the teams. How can I also display the flags of the teams? Thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author AntoineH

    (@antoineh)

    Hi,

    The function has a filter (footballpool_statistics_show_match_info) that you can use to rewrite the output. The $info variable that is passed to the filter, contains the match info. If it doesn’t already have the flag info, then use the team ID to get the correct flag using the Teams class.
    This requires some PHP knowledge, though.

    Thread Starter dave101

    (@dave101)

    I’ll try AntoineH, Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display the flags’ is closed to new replies.