Support » Plugin: RegistrationMagic - Custom Registration Forms and User Login » execute a hook after registration

  • Resolved rachidbigm

    (@rachidbigm)


    hello,

    I have installed the plugin and create a form, and i want to execute a hook just after registration has completely finished (with all custom metas included)

    I have used the “rm_user_registered”, but i can’t get the custom metas from the user object…

    Any ideas plz ?

    Regards.

    • This topic was modified 3 months, 4 weeks ago by rachidbigm.
Viewing 1 replies (of 1 total)
  • Plugin Support RegistrationMagicSupport

    (@registrationmagicsupport)

    Hi,

    RegistrationMagic stores user submissions in rm_submissions table. Before calling rm_user_registered hook, it saves submission ID in usermeta key RM_UMETA_SUB_ID. You can fetch custom meta from the submissions table using this key. Please note the information is stored in json format, so you need to unserialize it and then fetch the custom meta.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.