Dynamic Prefix
-
Is it possible to target before a field on a specific feed or its prefix using a PHP function, and inserting content?
As an example, on a specific feed I’d like to target the woocommerce Product Description, and add some text before the description. So, the description would be output as inserted text, followed by the product description.
The plan behind this – I’d like to use a wordpress function to target a group of products and for them all to output the same acf option field, followed immediately by their unique description.
If you’re able to help with writing a function to insert any text before, I can work out the rest.
The topic ‘Dynamic Prefix’ is closed to new replies.