Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter guardiano78

    (@guardiano78)

    ok, i did it!
    Another question.
    In Customer importation, i added a custom field created by me.
    I need to export this field with customer informations in Order Exportation.
    Is it possible?
    If yoe, how can i do it?

    thanks

    Plugin Author WP All Import

    (@wpallimport)

    Hi @guardiano78

    In Customer importation, i added a custom field created by me. I need to export this field with customer informations in Order Exportation. Is it possible?

    It is possible, but you’d have to use a PHP function on the “Customer User ID” field to do it: https://www.wpallimport.com/documentation/export/pass-data-through-php-functions/.

    Here’s an example function that you can modify as needed:

    function my_get_customfield( $user_id ) {
    	return get_user_meta( $user_id, 'some_custom_field', true );
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘export order’ is closed to new replies.