Wordpress - WordPress Hooks System
You want to run a function
log_user only once when WordPress initializes, but only if another plugin has already hooked check_license to init. How can you do this?