开发者 | tripflex |
---|---|
更新时间 | 2019年8月9日 02:24 |
捐献地址: | 去捐款 |
PHP版本: | 5.4 及以上 |
WordPress版本: | 5.2.2 |
版权: | GPLv3 |
版权网址: | 版权信息 |
field_editor_import_multi_files( files )
- Helper function to convert serialized array values for files to CSV format[field_editor_import_multi_files({_some_meta_key[1]})]
field_editor_import_multi_field( data, separator )
- Helper function to convert non-serialized data (in CSV or other format with specific separator), to serialized data format required for multi value field types.One, Two, Three
and the XPath value was {numbers[1]}
, instead of just putting {numbers[1]}
, you would put in this:
[field_editor_import_multi_field({numbers[1]})]
If you're using a different separator, for example: One|Two|Three
, you can specify the separator as the second argument:
[field_editor_import_multi_field({numbers[1]}, "|")]
Example:
[field_editor_import_multi_files({_some_meta_key[1]})]
http://www.wpallimport.com/documentation/advanced/execute-php/
Contributing and reporting bugs
You can contribute code or report issues with this plugin via GitHub: https://github.com/tripflex/wp-job-manager-field-editor-import
Support
Use the WordPress.org forums for community support where we try to help all users. If you spot a bug, you can log it (or fix it) on Github where we can act upon them more efficiently.
wp-content/plugins/
directory.No! That's the best part! This addon allows you to import those custom meta fields without having the Pro version!
As of version 1.0.3, a helper function is available for this, field_editor_import_multi_field
.
For example, if the data in your field is separated by a comma: One, Two, Three
and the XPath value was {numbers[1]}
, instead of just putting {numbers[1]}
, you would put in this:
[field_editor_import_multi_field({numbers[1]})]
If you're using a different separator, for example: One|Two|Three
, you can specify the separator as the second argument:
[field_editor_import_multi_field({numbers[1]}, "|")]
field_editor_import_multi_field
helper function and details to FAQ on how to use