Transforms a string of a custom field
-
Hi!
I need to transform a text string that is produced by a custom field. The string is of type:
https://domain.com/wp-content/uploads/2008/09/image.jpg
And I need to transform it into something like:
https://domain.com/wp-content/uploads/2008/09/image-225x150.jpg
(only adds: “-225×150” to the string, almost at the end)
I saved a lot of time with a solution. Thank you very much for your response.
Best regards,
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Transforms a string of a custom field’ is closed to new replies.