I am using a feed importer plugin which gives the option to use a short code in case I need to change data (in this case data for a custom field) on import, using for example:
But how do I use this when I have more to change? Because it's a shortcode I can't use an array like:
$a = 'this', 'another this'; $b = 'that', 'another that'; echo str_replace($a, $b, get_post_meta($post->ID, 'feedfield', true));
Can anyone enlighten my lack of knowledge?