The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Football Pool
[resolved] script for where a new user registers (3 posts)

  1. walexrvp
    Posted 2 years ago #

    Hi! nice plugin i must say
    but i would like to know how you add users information to the pool.
    the script that handles this operation from selecting the user from the wordpress table {wp_users} into your {league_users} table.

    Thanks in advance!


  2. AntoineH
    Plugin Author

    Posted 2 years ago #

    The add_user() function in the admin/class-football-pool-admin-users.php file adds existing users to the pool. The plugin uses one of two methods: with leagues or without leagues.

    Upon registration of a new user the function new_pool_user() in classes/class-football-pool.php is called.

  3. AntoineH
    Plugin Author

    Posted 2 years ago #

    btw. the next version (v2.3.6) will contain two action hooks that can be used to extend the functions mentioned above.

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic