The following actions and filter hooks are available in this Add On.

apply_filters( 'pmproiucsv_required_import_headers', array( 'user_email' ) )

Define the required headers for a member import CSV file.

apply_filters( 'pmproiufcsv_cancel_prev_sub_on_import', false );

The filter is, by default, set to false. This prevents the import process from cancelling existing subscriptions at the gateway. To change the default behavior, add a custom function to this filter hook and return true. This change will cancel subscriptions at the gateway during the import process if the member’s level changes or is cancelled.

apply_filters( 'pmprocsv_ajax_import_batch', 50 ),

Adjust the number of imports per iteration. Default is 50 imports per iteration.

do_action( 'pmproiucsv_after_init' );

Fires after the Add On has fully initialized, allowing developers to run custom code once all core plugin setup is complete.

do_action( 'pmproiucsv_import_page_inside_table_bottom' );

Insert additional form fields or settings at the bottom of the import options table on the Import Members admin page.

do_action( 'pmproiucsv_import_page_after_table' );

Add custom content or fields below the import options table but before the submit button on the Import Members admin page.

do_action( 'pmproiucsv_pre_user_import', $userdata, $usermeta, $user );

Fires immediately before a single user is imported, allowing developers to modify or act on the user data and metadata before creation or update.

do_action( 'pmproiucsv_post_user_import', $user_id );

Fires immediately after a single user is successfully imported, allowing developers to run custom logic such as logging, notifications, or additional user setup.

do_action( 'pmproiucsv_post_users_import', $user_ids, $errors );

Perform actions based on the full import, such as summary logging or follow-up tasks, after all users in the CSV file have been processed, providing an opportunity to p

do_action( 'pmproiucsv_after_member_import', $user, $membership_id, $order );

Action hook to run code after a single user’s membership information is imported.

Last updated on May 13, 2026


Was this article helpful?
YesNo