Add an action only for a specific user in a plugin

If you run get_current_user_id() too early, like you’re doing, it will just return 0.

Wrap your logic containing that function inside a hook, like init, or inside the rt_* callbacks, to avoid that.

Note that init fires right after current user setup and before admin_menu (src)

deneme bonusudeneme bonusu veren sitelerpulibet girişOnwin Güncel Giriştürkçe altyazılı pornocanlı bahis casino