I am extending registration complete class, Other code is working fine when registration completes. but when I try to get User ID of user registered it is returning 0 as user id instead of original user ID.
This is my code sample.
class RegistrationComplete extends...
I want sidebar widget to show recent threads which contain attachments or links only.
Not all the replies and threads without attachments.
I know it require some condition to be set in widget_new_posts but I dont know.