Forums

Place block on top of edit user form (1 post)

  1. xobb
    Member
    Posted 1 year ago #

    Hi fellas,

    I would like to place the block on top of edit user form. I've investigated into the source, but there is an only action in form tag:
    wp-admin/user-edit.php Line 180
    <form id="your-profile" action="<?php echo esc_url( admin_url( IS_PROFILE_PAGE ? 'profile.php' : 'user-edit.php' ) ); ?>" method="post"<?php do_action('user_edit_form_tag'); ?>>

    Would it be correct to use that action to add my block to the top or there is any other variant?

    Also would you consider adding the block by edit_user_profile action (which is right above submit button) and moving the block to the top via javascript?

Topic Closed

This topic has been closed to new replies.

About this Topic