View Single Post
  #9  
Old June 17th, 2013, 08:57 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

So for those IDs, you'd have:

PHP Code:
function map_mid_to_cpt$merchant_id ) {
    
$map = array(
        
8303 => 7903,
    );
    return 
get_permalink$map[$merchant_id] ); 

I also modified the code just a bit.

Eric