Description
Filters the default settings for WP-Members’ user export process.
Defaults:
$defaults = array( 'export' => 'all', 'filename' => 'wp-members-user-export-' . $today . '.csv', 'export_fields' => wpmem_fields(), //array(), 'exclude_fields' => array( 'password', 'confirm_password', 'confirm_email' ), 'entity_decode' => false, 'date_format' => Y-m-d, );
Parameters
$args
(array) (required) An array of any defaults being changed.
Example
/** * This example sets the export function to decode HTML entities * in the export. */ add_filter( 'wpmem_export_args', 'my_export_args' ); function my_export_args( $args ) { $args['entity_decode'] = true; return $args; }
Changelog
Introduced in version 2.9.7
Source
wpmem_export_args is located in includes/admin/class-wp-members-user-export.php