{"id":2993015,"date":"2015-10-04T00:00:00","date_gmt":"2015-10-04T00:00:00","guid":{"rendered":"https:\/\/www.wpallimport.com\/2015\/10\/wp-all-export-1-1-1-function-editor\/"},"modified":"2025-11-15T07:33:53","modified_gmt":"2025-11-15T07:33:53","slug":"wp-all-export-1-1-1-function-editor","status":"publish","type":"post","link":"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/","title":{"rendered":"WP All Export 1.1.1: Function Editor"},"content":{"rendered":"<p>We've released new version of WP All Export, WP All Import, and the WooCommerce add-on.\u00a0This round of updates was focused on a few small features we've wanted to add for awhile along with some necessary bug fixes.<\/p>\n<h2>Function Editor<\/h2>\n<p>This is something that we've been wanting for a long time. Being able to pass data through custom functions is one of the features that makes WP All Import and WP All Export so powerful. But where do you put them? If you add them to your theme's functions.php file, well, this works, but it will be overwritten every time you update or change your theme. And really, this function is for WP All Export or WP All Import, it doesn't belong with your theme.<\/p>\n<p>So, we've added a functions.php file - one for WP All Import and one for WP All Export. Functions added here will only be used while your import or export is processing, so if you make a mistake and forget a semicolon or something it's not going to crash your site.<\/p>\n<p>To make things even easier, we've added a code editor to WP All Import and WP All Export. Now you can add functions to your site while you're editing your import or export template. And it's a pretty nice editor too, with syntax highlighting, the ability to save without reloading the page, even a linter that checks your code for errors.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-157412\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/Function-Editor.png\" alt=\"Function Editor\" width=\"516\" height=\"614\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>The function editor is available on the 'Settings' page for WP All Import and WP All Export, as well as the 'Edit Import' and 'Edit Export' pages. You can also directly edit the functions.php file found in wp-content\/uploads\/wpallimport and wp-content\/uploads\/wpallexport.<\/p>\n<h2>Changelog<\/h2>\n<p>Here's a full changelog for everything in these\u00a0new releases:<\/p>\n<h4>WP All Export Pro 1.1.1<\/h4>\n<ul>\n<li>Added function editor<\/li>\n<li>Added bundle URL to 'Cron Scheduling' page<\/li>\n<li>Added new option 'Include BOM to export file'<\/li>\n<li>Added RU translation<\/li>\n<li>Fixed export repeater fields for ACF 4.x<\/li>\n<li>Fixed import template for custom product attributes<\/li>\n<li>Fixed cron job responses, now they are in JSON format<\/li>\n<\/ul>\n<h4>WP All Import Pro 4.2.2<\/h4>\n<ul>\n<li>Added function editor<\/li>\n<li>Added Post ID to manual record matching<\/li>\n<li>Added 'Comment status' to 'Choose data to update' section on 'Import Settings' page<\/li>\n<li>Added 'cancel' to cron API: \/wp-cron.php?import_key=Kt&amp;import_id=407&amp;action=cancel<\/li>\n<li>Fixed duplicate matching by custom field (cron)<\/li>\n<li>Fixed converting image filenames to lowercase<\/li>\n<li>Fixed import HTML\u00a0to image description<\/li>\n<li>Fixed _wp_old_slug for changed post slugs<\/li>\n<\/ul>\n<h4>WooCommerce Add-On Pro 2.2.1<\/h4>\n<ul>\n<li>Added feature to dynamically set product attribute options<\/li>\n<li>Added new option 'Convert decimal separator to a period' for international prices<\/li>\n<li>Fixed conflict between options ('Update only these custom fields' &amp; 'Update only these attributes')<\/li>\n<li>Fixed 'Create new records' for import variable products when\u00a0importing to existing products<\/li>\n<li>Fixed 'Do not set variations to draft'<\/li>\n<li>Fixed importing shipping class for external products<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>We've released new version of WP All Export, WP All Import, and the WooCommerce add-on.\u00a0This round of updates was focused on a few small features we've wanted to add for awhile along with some necessary bug fixes. Function Editor This is something that we've been wanting for a long time. Being able to pass data [&hellip;]<\/p>\n","protected":false},"author":7778,"featured_media":2990681,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_stopmodifiedupdate":false,"_modified_date":"","inline_featured_image":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[35,7],"tags":[38,23,36,37],"content_author":[213],"cta":[],"class_list":["post-2993015","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product-news","category-tutorials","tag-new-release","tag-woocommerce-add-on","tag-wp-all-export","tag-wp-all-import","content_author-editorial-staff"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WP All Export 1.1.1: Function Editor - WP All Import<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WP All Export 1.1.1: Function Editor - WP All Import\" \/>\n<meta property=\"og:description\" content=\"We&#039;ve released new version of WP All Export, WP All Import, and the WooCommerce add-on.\u00a0This round of updates was focused on a few small features we&#039;ve wanted to add for awhile along with some necessary bug fixes. Function Editor This is something that we&#039;ve been wanting for a long time. Being able to pass data [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/\" \/>\n<meta property=\"og:site_name\" content=\"WP All Import\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/groups\/wpallimport\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-04T00:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-15T07:33:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/Function-Editor.png\" \/>\n\t<meta property=\"og:image:width\" content=\"516\" \/>\n\t<meta property=\"og:image:height\" content=\"614\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Editorial Staff\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editorial Staff\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/\"},\"author\":{\"name\":\"Editorial Staff\",\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/person\/213\",\"url\":\"https:\/\/www.wpallimport.com\/author\/editorial-staff\/\"},\"headline\":\"WP All Export 1.1.1: Function Editor\",\"datePublished\":\"2015-10-04T00:00:00+00:00\",\"dateModified\":\"2025-11-15T07:33:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/\"},\"wordCount\":496,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.wpallimport.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/Function-Editor.png\",\"keywords\":[\"New Release\",\"WooCommerce Add-On\",\"WP All Export\",\"WP All Import\"],\"articleSection\":[\"Product News\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/\",\"url\":\"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/\",\"name\":\"WP All Export 1.1.1: Function Editor - WP All Import\",\"isPartOf\":{\"@id\":\"https:\/\/www.wpallimport.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/Function-Editor.png\",\"datePublished\":\"2015-10-04T00:00:00+00:00\",\"dateModified\":\"2025-11-15T07:33:53+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/#primaryimage\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/Function-Editor.png\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/Function-Editor.png\",\"width\":516,\"height\":614},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wpallimport.com\/#website\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"name\":\"WP All Import\",\"description\":\"Import XML &amp; CSV to WordPress\",\"publisher\":{\"@id\":\"https:\/\/www.wpallimport.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wpallimport.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.wpallimport.com\/#organization\",\"name\":\"WP All Import\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"width\":199,\"height\":37,\"caption\":\"WP All Import\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/person\/213\",\"name\":\"Editorial Staff\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/person\/image\/213\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2026\/03\/WP-All-Import-Logo-Big.jpg\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2026\/03\/WP-All-Import-Logo-Big.jpg\",\"caption\":\"Editorial Staff\"},\"url\":\"https:\/\/www.wpallimport.com\/author\/editorial-staff\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WP All Export 1.1.1: Function Editor - WP All Import","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/","og_locale":"en_US","og_type":"article","og_title":"WP All Export 1.1.1: Function Editor - WP All Import","og_description":"We've released new version of WP All Export, WP All Import, and the WooCommerce add-on.\u00a0This round of updates was focused on a few small features we've wanted to add for awhile along with some necessary bug fixes. Function Editor This is something that we've been wanting for a long time. Being able to pass data [&hellip;]","og_url":"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/","og_site_name":"WP All Import","article_author":"https:\/\/www.facebook.com\/groups\/wpallimport","article_published_time":"2015-10-04T00:00:00+00:00","article_modified_time":"2025-11-15T07:33:53+00:00","og_image":[{"width":516,"height":614,"url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/Function-Editor.png","type":"image\/png"}],"author":"Editorial Staff","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Editorial Staff","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/#article","isPartOf":{"@id":"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/"},"author":{"name":"Editorial Staff","@id":"https:\/\/www.wpallimport.com\/#\/schema\/person\/213","url":"https:\/\/www.wpallimport.com\/author\/editorial-staff\/"},"headline":"WP All Export 1.1.1: Function Editor","datePublished":"2015-10-04T00:00:00+00:00","dateModified":"2025-11-15T07:33:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/"},"wordCount":496,"commentCount":0,"publisher":{"@id":"https:\/\/www.wpallimport.com\/#organization"},"image":{"@id":"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/Function-Editor.png","keywords":["New Release","WooCommerce Add-On","WP All Export","WP All Import"],"articleSection":["Product News","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/","url":"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/","name":"WP All Export 1.1.1: Function Editor - WP All Import","isPartOf":{"@id":"https:\/\/www.wpallimport.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/#primaryimage"},"image":{"@id":"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/Function-Editor.png","datePublished":"2015-10-04T00:00:00+00:00","dateModified":"2025-11-15T07:33:53+00:00","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/wp-all-export-1-1-1-function-editor\/#primaryimage","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/Function-Editor.png","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/Function-Editor.png","width":516,"height":614},{"@type":"WebSite","@id":"https:\/\/www.wpallimport.com\/#website","url":"https:\/\/www.wpallimport.com\/","name":"WP All Import","description":"Import XML &amp; CSV to WordPress","publisher":{"@id":"https:\/\/www.wpallimport.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpallimport.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.wpallimport.com\/#organization","name":"WP All Import","url":"https:\/\/www.wpallimport.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","width":199,"height":37,"caption":"WP All Import"},"image":{"@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.wpallimport.com\/#\/schema\/person\/213","name":"Editorial Staff","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/#\/schema\/person\/image\/213","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2026\/03\/WP-All-Import-Logo-Big.jpg","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2026\/03\/WP-All-Import-Logo-Big.jpg","caption":"Editorial Staff"},"url":"https:\/\/www.wpallimport.com\/author\/editorial-staff\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/posts\/2993015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/users\/7778"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/comments?post=2993015"}],"version-history":[{"count":0,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/posts\/2993015\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media\/2990681"}],"wp:attachment":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media?parent=2993015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/categories?post=2993015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/tags?post=2993015"},{"taxonomy":"content_author","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/content_author?post=2993015"},{"taxonomy":"cta","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/cta?post=2993015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}