get user id in a plugin without a function September 20, 2022 by Tarik Billa i think it’s correct. just add add_action('init','billings_html');