@wpkernel/cli / getWpPostRouteHelperState
Function: getWpPostRouteHelperState()
ts
function getWpPostRouteHelperState(context): WpPostRouteHelperState;Retrieves the singleton state object for the WP Post route helper from the pipeline context.
If the state object does not exist in the context, it is initialized.
Parameters
context
The current pipeline context.
Returns
The WpPostRouteHelperState instance.
