2017 © Pedro Peláez
 

wordpress-plugin wplf-export

Export form data from WP Libre Form.

image

k1sul1/wplf-export

Export form data from WP Libre Form.

  • Friday, January 12, 2018
  • by k1sul1
  • Repository
  • 1 Watchers
  • 1 Stars
  • 187 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 3 Open issues
  • 4 Versions
  • 282 % Grown

The README.md

WPLF Export

License, (*1)

Export form submissions created by WP Libre Form., (*2)

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., (*3)

Installation

The Composer Way (preferred)

Install the plugin via Composer, (*4)

composer require k1sul1/wplf-export

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., (*5)

for dummies, (*6)

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., (*7)

Filter fields:, (*8)

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: ','):, (*9)

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):, (*10)

add_filter('wplf_export_form_{ID}_filename', ..);, (*11)

New filters and features are subject to be added. PRs welcome!, (*12)

The Versions

12/01 2018

dev-allow-nonwebroot

dev-allow-nonwebroot

Export form data from WP Libre Form.

  Sources   Download

GPL-3.0

by Christian Nikkanen

24/10 2017

dev-master

9999999-dev

Export form data from WP Libre Form.

  Sources   Download

GPL-3.0 GPL-2.0

by Christian Nikkanen

10/06 2017

1.0.1

1.0.1.0

Export form data from WP Libre Form.

  Sources   Download

GPL-2.0

by Christian Nikkanen

24/01 2017

1.0.0

1.0.0.0

Export form data from WP Libre Form.

  Sources   Download

GPL-2.0

by Christian Nikkanen