Viewing 1 replies (of 1 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Yes, we have mapping available for some things like custom fields and taxonomies. To map other fields, you’ll need to write a custom function, like this one:

    function category_replace( $str ) {
    
        $replacements = array(
            "find_this" => "replace_with_this",
            "then_find_this" => "and_replace_with_this"
        );
    
        return str_replace( array_keys($replacements), $replacements, $str);
    }

    You can read more here: https://www.wpallimport.com/documentation/developers/execute-php/

Viewing 1 replies (of 1 total)
  • The topic ‘Mapping’ is closed to new replies.