PluginProbe ʕ •ᴥ•ʔ
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel / 1.1.5
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel v1.1.5
trunk 0.9.0 0.9.1 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0 1.2.1 1.2.10 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.14 1.4.15 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0
wp-all-export / views / admin / export / template / advanced_field_options.php
wp-all-export / views / admin / export / template Last commit date
add_new_field.php 8 years ago advanced_field_options.php 8 years ago custom_xml_help.php 8 years ago
advanced_field_options.php
92 lines
1 <div class="wp-all-export-advanced-field-options-content">
2 <!-- Options for SQL field -->
3 <div class="input cc_field sql_field_type">
4 <a href="#help" rel="sql" class="help" style="display:none;" title="<?php _e('%%ID%% will be replaced with the ID of the post being exported, example: SELECT meta_value FROM wp_postmeta WHERE post_id=%%ID%% AND meta_key=\'your_meta_key\';', 'wp_all_export_plugin'); ?>">?</a>
5 <textarea style="width:100%;" rows="5" class="column_value"></textarea>
6 </div>
7 <!-- Options for ACF Repeater field -->
8 <div class="input cc_field repeater_field_type">
9 <input type="hidden" name="repeater_field_item_per_line" value="0"/>
10 <input type="checkbox" id="repeater_field_item_per_line" class="switcher" name="repeater_field_item_per_line" value="1" style="margin: 2px;"/>
11 <label for="repeater_field_item_per_line"><?php _e("Display each repeater row in its own csv line", "wp_all_export_plugin"); ?></label>
12 <div class="input switcher-target-repeater_field_item_per_line" style="margin-top: 10px; padding-left: 15px;">
13 <input type="hidden" name="repeater_field_fill_empty_columns" value="0"/>
14 <input type="checkbox" id="repeater_field_fill_empty_columns" name="repeater_field_fill_empty_columns" value="1"/>
15 <label for="repeater_field_fill_empty_columns"><?php _e("Fill in empty columns", "wp_all_export_plugin"); ?></label>
16 <a href="#help" class="wpallexport-help" style="position: relative; top: 0px;" title="<?php _e('If enabled, each repeater row will appear as its own csv line with all post info filled in for every column.', 'wp_all_export_plugin'); ?>">?</a>
17 </div>
18 </div>
19 <!-- Options for Image field from Media section -->
20 <div class="input cc_field image_field_type">
21 <div class="input">
22 <input type="hidden" name="image_field_is_export_featured" value="0"/>
23 <input type="checkbox" id="is_image_export_featured" name="image_field_is_export_featured" value="1" style="margin: 2px;" checked="checked"/>
24 <label for="is_image_export_featured"><?php _e("Export featured image", "wp_all_export_plugin"); ?></label>
25 </div>
26 <div class="input">
27 <input type="hidden" name="image_field_is_export_attached_images" value="0"/>
28 <input type="checkbox" id="is_image_export_attached_images" class="switcher" name="image_field_is_export_attached_images" value="1" style="margin: 2px;" checked="checked"/>
29 <label for="is_image_export_attached_images"><?php _e("Export attached images", "wp_all_export_plugin"); ?></label>
30 <div class="switcher-target-is_image_export_attached_images" style="margin: 5px 2px;">
31 <label><?php _e("Separator", "wp_all_export_plugin"); ?></label>
32 <input type="text" name="image_field_separator" value="|" style="width: 40px; text-align:center;">
33 </div>
34 </div>
35 </div>
36 <!-- Options for Date field -->
37 <div class="input cc_field date_field_type">
38 <select class="date_field_export_data" style="width: 100%; height: 30px;">
39 <option value="unix"><?php _e("UNIX timestamp - PHP time()", "wp_all_export_plugin");?></option>
40 <option value="php"><?php _e("Natural Language PHP date()", "wp_all_export_plugin");?></option>
41 </select>
42 <div class="input pmxe_date_format_wrapper">
43 <label style="padding:4px; display: block;"><?php _e("date() Format", "wp_all_export_plugin"); ?></label>
44 <input type="text" class="pmxe_date_format" value="" placeholder="Y-m-d" style="width: 100%;"/>
45 </div>
46 </div>
47 <!-- Options for Up/Cross sells products -->
48 <div class="input cc_field linked_field_type">
49 <select class="linked_field_export_data" style="width: 100%; height: 30px;">
50 <option value="sku"><?php _e("Product SKU", "wp_all_export_plugin");?></option>
51 <option value="id"><?php _e("Product ID", "wp_all_export_plugin");?></option>
52 <option value="name"><?php _e("Product Name", "wp_all_export_plugin");?></option>
53 </select>
54 </div>
55 <!-- PHP snippet options -->
56 <div class="input php_snipped" style="margin-top:10px;">
57 <input type="checkbox" id="coperate_php" name="coperate_php" value="1" class="switcher" style="margin: 2px;"/>
58 <label for="coperate_php"><?php _e("Export the value returned by a PHP function", "wp_all_export_plugin"); ?></label>
59 <a href="#help" class="wpallexport-help" title="<?php _e('The value of the field chosen for export will be passed to the PHP function.', 'wp_all_export_plugin'); ?>" style="top: 0;">?</a>
60 <div class="switcher-target-coperate_php" style="margin-top:5px;">
61 <div class="wpallexport-free-edition-notice" style="margin: 15px 0;">
62 <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=118611&edd_options%5Bprice_id%5D=1&utm_source=wordpress.org&utm_medium=custom-php&utm_campaign=free+wp+all+export+plugin"><?php _e('Upgrade to the Pro edition of WP All Export to use Custom PHP Functions','wp_all_export_plugin');?></a>
63 <p><?php _e('If you already own it, remove the free edition and install the Pro edition.','wp_all_export_plugin');?></p>
64 </div>
65 <?php echo "&lt;?php ";?>
66 <input type="text" class="php_code" value="" style="width:50%;" placeholder='your_function_name'/>
67 <?php echo "(\$value); ?&gt;"; ?>
68
69 <?php
70 $uploads = wp_upload_dir();
71 $functions = $uploads['basedir'] . DIRECTORY_SEPARATOR . WP_ALL_EXPORT_UPLOADS_BASE_DIRECTORY . DIRECTORY_SEPARATOR . 'functions.php';
72 ?>
73
74 <div class="input" style="margin-top: 10px;">
75
76 <h4><?php _e('Function Editor', 'wp_all_export_plugin');?><a href="#help" class="wpallexport-help" title="<?php printf(__("Add functions here for use during your export. You can access this file at %s", "wp_all_export_plugin"), preg_replace("%.*wp-content%", "wp-content", $functions));?>" style="top: 0;">?</a></h4>
77
78 </div>
79
80 <textarea id="wp_all_export_code" name="wp_all_export_code"><?php echo "<?php\n\n?>";?></textarea>
81
82 <div class="input" style="margin-top: 10px;">
83
84 <div class="input" style="display:inline-block; margin-right: 20px;">
85 <input type="button" class="button-primary wp_all_export_save_functions" disabled="disabled" value="<?php _e("Save Functions", 'wp_all_export_plugin'); ?>"/>
86 <div class="wp_all_export_functions_preloader"></div>
87 </div>
88 <div class="input wp_all_export_saving_status" style="display:inline-block;"></div>
89 </div>
90 </div>
91 </div>
92 </div>