Skip to:
Content
Pages
Categories
Search
Top
Bottom

Create custom registration form for role

  • Avatar of BobbyMelbourne
    BobbyMelbourne
    Participant

    @bobbymelbourne

    Hi,

    I have a role-type which requires a specific registration form and xprofile fieldset.

    Ideally, I would like to capture this via a custom static page however I’m kind of stuck trying to route it and load the correct template.

    add_filter('bp_static_pages', 'mta_static_pages');
    
    function mta_static_pages($pages)
    {
        $pages['register-agent'] = __('Register - Travel Agent', 'buddypress');
    
        return $pages;
    }

    Has anyone had any previous experience with making this work?

    Thanks.

You must be logged in to reply to this topic.