Are you thinking of the buttons that run editor functions?
If so, you’ll want UFUNCTION(CallInEditor)
UFUNCTION(CallInEditor)