packages/kirki-framework/core/src/Setting/User_Meta.php
protected function set_root_value( $value ) {
		$id_base = $this->id_data['base'];

		// First delete the current user-meta.
		// We're doing this to avoid duplicate entries.
		delete_user_meta( get_current_user_id(), $id_base );

		// Update the user-meta.
		return update_user_meta( get_current_user_id(), $id_base, $value );
	}
protected function set_root_value( $value ) {
		$id_base = $this->id_data['base'];

		// First delete the current user-meta.
		// We're doing this to avoid duplicate entries.
		delete_user_meta( get_current_user_id(), $id_base );

		// Update the user-meta.
		return update_user_meta( get_current_user_id(), $id_base, $value );
	}
protected function set_root_value ( $ value ) { $ id_base = $ this -> id_data [ 'base' ] ; // First delete the current user-meta. // We're doing this to avoid duplicate entries. delete_user_meta ( get_current_user_id ( ) , $ id_base ) ; // Update the user-meta. return update_user_meta ( get_current_user_id ( ) , $ id_base , $ value ) ; }
Set the root value for a setting, especially for multidimensional ones.

@access protected
@since 3.0.0
@param mixed $value Value to set as root of multidimensional setting.
@return bool Whether the multidimensional root was updated successfully.
Set the root value for a setting especially for multidimensional ones .