# Object getPluginEnterOptions()

Gets the boot parameter of** when **enters Weixin Mini Program from the plug-in page.

When entering Weixin Mini Program from the plug-in page, the Mini Program itself cannot directly access wx.getEnterOptionsSync Get the startup parameters, so this interface is provided.

Note: When Weixin Mini Program is relaunched by the client at the front desk (e.g. when the phone WeChat call alert opens the Mini Program, or the WMPF launchMiniProgram interface opens the Mini Program), does not count as "entering the Mini Program,"getPluginEnterOptionscan't get the latest query. getPluginOnloadOptions getPluginOnload Options ](./getPluginOnloadOptions.md)

# parameter

nothing

# Return value

# Object

The startup parameters are set.Is consistent with the plug-in call wx.getEnterOptionsSync return value.

# sample code

const wmpfVoip = requirePlugin('wmpf-voip').default

const query = wmpfVoip.getPluginEnterOptions()