Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add extended profile fields programmatically


  • nileshkul
    Participant

    @nileshkul

    how can i add custom profile fields with functions, filters and actions rather than adding them with buddypress backend options.

Viewing 1 replies (of 1 total)

  • modemlooper
    Moderator

    @modemlooper

    // Insert New Field
    xprofile_insert_field(
        array (
               'field_group_id'  => 1,
               'name'            => 'Twitter',
               'field_order'     => 1,
               'is_required'     => false,
               'type'            => 'textbox'
        )
    );
Viewing 1 replies (of 1 total)
  • The topic ‘Add extended profile fields programmatically’ is closed to new replies.
Skip to toolbar