Ready to get started?Download WordPress


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

  1. walexrvp
    Posted 1 year 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 1 year 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 1 year 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

About this Topic