I can see that this plugin currently sets the version value of each error to be equal to the current WordPress core version (a good default!).
However, as we deploy our WordPress via GitHub Actions, we would probably find it more useful for the error versions to track the deployment versions that we set in CI/CD via the Raygun Action.
Would it be possible to add support for custom version values? Maybe through exposing a filter for the version before it's passed to rg4js/php, allowing us to override it with our own value?
For example:
add_filter( 'raygun_version', function( $version ) {
return get_deployment_sha();
}
I can see that this plugin currently sets the
versionvalue of each error to be equal to the current WordPress core version (a good default!).However, as we deploy our WordPress via GitHub Actions, we would probably find it more useful for the error versions to track the deployment versions that we set in CI/CD via the Raygun Action.
Would it be possible to add support for custom
versionvalues? Maybe through exposing a filter for the version before it's passed to rg4js/php, allowing us to override it with our own value?For example: