How do I set a custom origin when publishing from PHP to get rid of the warning message?
When you try to publish from PHP, you may get a warning message as follows (from older versions of the SDK): Before running in production, please contact firstname.lastname@example.org for your custom origin. Please set the origin from PHP.pubnub.com to IUNDERSTAND.pubnub.com to remove this warning.
We have upgraded our network infrastructure which makes the need for custom origins obsolete. We are also in the process of upgrading all our SDKs to remove this warning.
You can ignore this warning and feel free to use
pubsub as the origin or just leave that argument out, if optional.