Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Buddypress xprofile_insert_field_groupo Bug

@shanebp

Moderator

You could check to see if the field exists before creating it.
But that check would happen on every page load.

The best and most efficient method is to create a plugin and write a function that hooks to the
register_activation_hook.
In that function, check to see if the field exists and if not, create it.
Then the function will only run which the plugin is activated.

Skip to toolbar