-
Notifications
You must be signed in to change notification settings - Fork 2
/
readme.txt
78 lines (51 loc) · 1.95 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
=== WPLF Export ===
Contributors: k1sul1
Tags: Export, WP, Libre, Form
Donate link: https://github.com/k1sul1
Requires at least: 4.2
Tested up to: 4.7.4
Stable tag: 1.4.2
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
== Description ==
Export form submissions created by WP Libre Form.
This builds on a "new" feature added in WP 4.7 called bulk actions, and basically adds a new item to the bulk action menu.
**How to use**
Seriously? Select your forms, select Export from bulk action menu and press "Apply".
For best results, select only one type of form for export.
**Customizing your export**
You can add your own filters to be applied on all or invidual forms and get only the output you'll need.
Note that invidual form filters work only when you spesify a form using the "Filter by form" field.
Filter fields:
`add_filter('wplf_export_form_filter', function($filter_fn) {
// Note that we're replacing $filter_fn entirely. Return a function!
$fn = function($field_name) {
return $field_name !== 'block_this_field';
};
return $fn;
});
add_filter('wplf_export_form_84_filter', function($filter_fn) {
// Same thing.
});`
Change delimiter (default: ','):
`add_filter('wplf_export_form_delimiter', function($delimiter) {
return '#';
});
add_filter('wplf_export_form_84_delimiter', function($delimiter) {
return '#';
});`
Change filename (default: wplf_export_TIMESTAMP.csv):
`add_filter('wplf_export_form_{ID}_filename', ..);`
New filters and features are subject to be added. PRs welcome!
== Installation ==
1. Upload plugin to the `/wp-content/plugins/` directory.
2. Activate the plugin through the "Plugins" menu in WordPress.
3. Installation done!
== Frequently Asked Questions ==
None yet.
== Screenshots ==
1. How to use
== Changelog ==
Commit log is available at https://github.com/k1sul1/wplf-export/commits/master
== Upgrade Notice ==
* 1.0 There's an update available to WPLF Export that makes it better. Please update it!