BuddyDev

Search

Birthday Notification Message on User’s Birthday from WordPress website

  • Participant
    Level: Initiated
    Posts: 14
    Cordial on #50928

    Is there any available PHP Code Snippets to enable Admin send Birthday message to user’s Email from WordPress website?

    Or, what’s the way to enable Admin send Birthday message to user’s Email from WordPress website?

    Regards

  • Keymaster
    (BuddyDev Team)
    Posts: 24645
    Brajesh Singh on #50929

    Hi,
    Thank you for the question.

    There is not definitive way to get birthday for user in WordPress/BuddyPress, so there are no such code/snippet that exist.

    You may want to take a look at the specific plugins adding support for user birthday/birthday widgets to see if they offer it.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 14
    Cordial on #50930

    Thanks for your reply Sir.
    Seeing that such feature doesn’t exist in WordPress/ BuddyPress, it means that there’s an opportunity to create and bring to life, a non-existent feature in WordPress/ BuddyPress.

    Can you consider building such a Feature?

    2.) There’s BuddyPress Extended User Profile, which allows us to add extra fields to BuddyPress.

    See it here– https://codex.buddypress.org/administrator-guide/extended-profiles/

    We can use the Date field and call it’s Title “Birthday”.

    Tracking this Date, and sending an Email to the User on this Date is now the issue.

    If you have this code by Ultimate Member — https://docs.ultimatemember.com/article/1765-send-birthday-greetings-to-accounts-with-today-s-birthdays

    Can you modify it for BuddyPress?

    Regards.

You must be logged in to reply to this topic.

This topic is: not resolved