extension in arcpy addin has some properties, but I don't understand what does "currentLayer" or "currentFeature" or "editSelection" mean, Are there any examples for them? thank you.
Examine the arcpy.mp documentation for its various uses
Introduction to arcpy.mp—ArcGIS Pro | Documentation