How to enable XR Plugin Provider through Editor Code

Hey everyone. I am trying to enable the XR Plugin provider of OpenXR through Code before build automation. can any one give me the Scripting API reference with Sample Code.

Any help would be appreciated!, Thanks in Advance