xprofile_fields_saved_field

  • do_action( 'xprofile_fields_saved_field', $field )

    Source Reference:

    • Component: BuddyPress:: bp-xprofile
      File: /bp-xprofile/bp-xprofile-admin.php :: Trac Source Line: 302
      			} else {
      				$message = __( 'The field was saved successfully.', 'buddypress' );
      				$type = 'success';
      
      				if ( 1 == $field_id )
      					bp_update_option( 'bp-xprofile-fullname-field-name', $field->name );
      
      				unset( $_GET['mode'] );
      
      				do_action( 'xprofile_fields_saved_field', $field );
      
      				$groups = BP_XProfile_Group::get();
      				xprofile_admin( $message, $type );
      			}
      		} else {
      			$field->render_admin_form( $message );
      		}
      	} else {
      		$field->render_admin_form();
      	}
      

Comments are closed.