WordPress.org

Ready to get started?Download WordPress

Forums

Add Multiple Users for WordPress
[resolved] Hook user_register and AMU (4 posts)

  1. mic0000
    Member
    Posted 1 year ago #

    Hello,

    I made a hook to create new posts for each new registered user.
    This works fine when I add a user with WordPress.
    But when I add multiple users with AMU, the user are created but not posts.
    you have an idea?

    Here is the beginning of my hook.

    Thank !
    mic

    ---
    function create_new_user_posts($user_id) {
    global $wpdb;
    /* my action */
    }
    add_action( 'user_register', 'create_new_user_posts');?>

    http://wordpress.org/extend/plugins/add-multiple-users/

  2. mic0000
    Member
    Posted 1 year ago #

    Sorry, forget my previous post

    it works perfectly (I made ​​a small mistake in my code)

    Thank !
    Mic

  3. mic0000
    Member
    Posted 1 year ago #

    Topic resolved

  4. happynuclear
    Member
    Plugin Author

    Posted 1 year ago #

    Hey Mic, happy it worked out for you!

    Loving the avatar btw =)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic