Viewing 1 replies (of 1 total)
  • Hi @hemant-ahir,

    Did you add your custom content as suggested in the documentation?
    Like:

    function user_registration_new_item_endpoint_content() {
        echo 'Your new content';
    }
    add_action( 'user_registration_account_new-item_endpoint', 'user_registration_new_item_endpoint_content' );

    For your purpose please change it to the following:

    function user_registration_items_endpoint_content() {
        echo 'Your new content';
    }
    add_action( 'user_registration_account_items_endpoint', 'user_registration_items_endpoint_content' );

    As you have noticed items is your new endpoint in action hook.
    Hope this helps!

    Regards!

    • This reply was modified 6 years, 10 months ago by Rumesh Udash.
Viewing 1 replies (of 1 total)

The topic ‘Profile page slug issues’ is closed to new replies.