WordPress.org

Ready to get started?Download WordPress

Forums

  1. jthomps123
    Member
    Posted 3 months ago #

    I have some javascript that needs to fire when the registration page loads up (it adds values to some hidden fields in the login form); which hook should I be using to add that to the page?

    Also how do i make a custom registration field hidden? I do not see that option.

    Thanks.

    https://wordpress.org/plugins/s2member/

  2. Cristian Lavaque
    Member
    Plugin Author

    Posted 3 months ago #

    I don't know. Maybe you can customize the template for it? http://www.s2member.com/kb/pro-forms/#customizing-pro-forms

    In the custom field editor, you may find these settings useful: Allow Profile Edits, and Other Attributes.

    I hope that helps. :)

  3. jthomps123
    Member
    Posted 3 months ago #

    Ended up not needing an s2 hook. Used a general wp hook:

    add_action( 'register_form', 'myfunction' );

    function myfunction() {

    my stuff

    }

  4. Cristian Lavaque
    Member
    Plugin Author

    Posted 3 months ago #

    Cool :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.