The following code is, I understand, deprecated:
Would somebody kindly come up with a modern replacement.
Many thanks
The following code is, I understand, deprecated:
Would somebody kindly come up with a modern replacement.
Many thanks
That is not a php deprecated thing, it’s a wordpress or other framework specific thing. So you’d need to figure out what framework it’s from and see what the new method is to use. It has nothing to do with php itself.