The role of magnesium ions in bone regeneration involves the canonical Wnt signaling pathway.