• Hi,

    Is there a way for people who are already subscribers to the website to play in a newly created league?

    I am confused how to make this. Is there a shortcode or something to make the users register to a league?

    Thank you

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

    (@antoineh)

    Only an admin can change the league for the user in this scenario. There is no shortcode or any other functions in the plugin that supports this.

    It is possible, of course, to write a custom function (e.g. a shortcode). You’ll have to list the available leagues and then call update_league_for_user( $user_id, $league_id ) from the Football_PooL_Pool class.

    The function league_select() from the same class returns a dropdown with all leagues that a user can choose from.

Viewing 1 replies (of 1 total)
  • The topic ‘Register to a League After Already Register in Website’ is closed to new replies.