WP All Export icon
Backup & Migration

WP All Export hooks reference

  • By Soflyy
  • v1.6.0
  • Updated

WP All Export 1.6.0 has 17 actions and 89 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when WP All Export fires an action
add_action( 'wp_enqueue_code_editor', function( $settings ) {
	// Your code runs here.
}, 10, 1 );

// Change a value WP All Export is about to use
add_filter( 'wp_all_export_csv_rows', function( $articles, $arg2, $arg3 ) {
	// Change $articles here.
	return $articles;
}, 10, 3 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • helpers/pmxe_functions.php line 249
    /**
     * Fires when scripts and styles are enqueued for the code editor.
     */
    do_action( 'wp_enqueue_code_editor', $settings );
  • libraries/XmlCsvExport.php line 55 · used in 10 places
    do_action( 'pmxe_exported_post', $user->ID, XmlExportEngine::$exportRecord );
  • libraries/XmlCsvExport.php line 54 · used in 10 places
    apply_filters( 'wp_all_export_csv_rows', $articles, XmlExportEngine::$exportOptions, XmlExportEngine::$exportID );
  • actions/pmxe_after_export.php line 103 · used in 6 places
    apply_filters( 'wp_all_export_after_csv_line', $out, XmlExportEngine::$exportID );
  • actions/wp_ajax_wpae_filtering_count.php line 58 · used in 6 places
    do_action( 'wpml_switch_language', XmlExportEngine::$exportOptions['wpml_lang'] );
  • libraries/XmlExportCpt.php line 265 · used in 5 places
    apply_filters( 'pmxe_post_author', pmxe_filter($entry->post_author, $fieldSnippet), $entry->ID );
  • libraries/XmlCsvExport.php line 873 · used in 5 places
    apply_filters( 'wp_all_export_available_sections', $engine->get('available_sections') );
  • actions/pmxe_after_export.php line 159 · used in 5 places
    apply_filters( 'wp_all_export_main_xml_tag', $export->options['main_xml_tag'], $export->id );
  • libraries/XmlExportCpt.php line 354 · used in 4 places
    apply_filters( 'pmxe_custom_field', pmxe_filter('', $fieldSnippet), $fieldValue, $entry->ID );
  • libraries/XmlCsvExport.php line 556 · used in 4 places
    apply_filters( 'wp_all_export_field_name', wp_all_export_parse_field_name($element_name), XmlExportEngine::$exportID );
  • libraries/XmlCsvExport.php line 235 · used in 4 places
    apply_filters( 'wp_all_export_xml_rows', true, $user, XmlExportEngine::$exportOptions, XmlExportEngine::$exportID );
  • libraries/XmlExportCpt.php line 186 · used in 3 places
    apply_filters( "pmxe_{$fieldType}", pmxe_filter(implode($implode_delimiter, $attachment_data), $fieldSnippet), $entry->ID );
  • actions/wp_ajax_wpallexport.php line 382 · used in 3 places
    do_action( 'pmxe_after_export', $export->id, $export );
  • libraries/XmlExportTaxonomy.php line 272 · used in 3 places
    apply_filters( 'pmxe_term_parent', pmxe_filter($term->parent, $fieldSnipped), $term->term_id );
  • libraries/XmlExportCpt.php line 640 · used in 3 places
    apply_filters( 'wp_all_export_add_after_element', $xmlWriter, $element_name_in_file, XmlExportEngine::$exportID, $entry->ID );
  • libraries/XmlExportCpt.php line 634 · used in 3 places
    apply_filters( 'wp_all_export_add_before_element', $xmlWriter, $element_name_in_file, XmlExportEngine::$exportID, $entry->ID );
  • actions/pmxe_after_export.php line 160 · used in 3 places
    apply_filters( 'wp_all_export_record_xml_tag', $export->options['record_xml_tag'], $export->id );
  • wp-all-export.php line 572 · used in 3 places
    do_action( 'wpallexport_action_after' );
  • libraries/XmlExportCpt.php line 496 · used in 3 places
    apply_filters( 'wpml_element_language_details', null, array( 'element_id' => $entry_id, 'element_type' => $post_type ) );
  • libraries/XmlExportCpt.php line 495 · used in 3 places
    apply_filters( 'wpml_element_type', $post_type );
  • classes/chunk.php line 244 · used in 2 places
    apply_filters( 'is_xml_preprocess_enabled', true );
  • libraries/XmlExportCpt.php line 100 · used in 2 places
    apply_filters( "pmxe_{$fieldType}_addon_export_field", $article, $addonFieldOptions, $exportOptions, $ID, $entry, $entry->ID, $xmlWriter, $element_name, $element_name_ns, $fieldSnippet, $preview );
  • controllers/admin/export.php line 539 · used in 2 places
    do_action( 'pmxe_before_export', $export->id );
  • views/admin/export/options.php line 37 · used in 2 places
    do_action( 'pmxe_options_header', $this->isWizard, $post );
  • libraries/XmlExportCpt.php line 574 · used in 2 places
    apply_filters( 'pmxe_sql_field', $val, $element_name, $entry->ID );
  • libraries/XmlExportCpt.php line 594 · used in 2 places
    apply_filters( 'pmxe_trid_field', $trid, $element_name, $entry->ID );
  • libraries/XmlExportCpt.php line 458 · used in 2 places
    apply_filters( 'pmxe_woo_attribute', pmxe_filter(implode($implode_delimiter, $attr_new), $fieldSnippet), $entry->ID, $fieldValue );
  • libraries/XmlCsvExport.php line 425 · used in 2 places
    apply_filters( 'wp_all_export_additional_data', array(), XmlExportEngine::$exportOptions, XmlExportEngine::$exportID );
  • libraries/XmlCsvExport.php line 135 · used in 2 places
    apply_filters( 'wp_all_export_csv_headers', $headers, XmlExportEngine::$exportID );
  • libraries/XmlCsvExport.php line 479 · used in 2 places
    apply_filters( 'wp_all_export_xml_header', '<?xml version="1.0" encoding="UTF-8"?>', XmlExportEngine::$exportID );
  • plugin_locale

    filter
    wp-all-export.php line 814
    apply_filters( 'plugin_locale', get_locale(), 'wp-all-export' );
  • libraries/XmlCsvExport.php line 632
    apply_filters( "pmxe_{$field_type}_addon_get_headers", $headers, $fieldOptions, XmlExportEngine::$exportOptions, $ID, $element_name );
  • pmxe_addons

    filter
    libraries/XmlExportEngine.php line 1367
    apply_filters( 'pmxe_addons', [] );
  • views/admin/export/index.php line 6
    do_action( 'pmxe_addons_html' );
  • models/export/record.php line 430
    do_action( 'pmxe_after_iteration', $this->id, $this );
  • views/admin/export/index.php line 233
    do_action( 'pmxe_after_notices_html' );
  • libraries/XmlExportEngine.php line 363
    apply_filters( 'pmxe_available_sections', $this->available_sections );
  • libraries/XmlExportCpt.php line 247
    apply_filters( 'pmxe_comment_status', pmxe_filter($entry->comment_status, $fieldSnippet), $entry->ID );
  • src/Csv/CsvWriter.php line 20
    apply_filters( 'pmxe_csv_value', $value );
  • libraries/XmlExportCustomRecord.php line 25
    do_action( 'pmxe_custom_record_export', XmlExportEngine::$exportOptions );
  • libraries/XmlExportEngine.php line 631
    apply_filters( "pmxe_get_{$addon}_addon_available_data", $this->available_data );
  • libraries/XmlExportEngine.php line 609
    apply_filters( "pmxe_get_{$addon}_addon_meta_keys", $this->_existing_meta_keys, 10, 1 );
  • addon-api/classes/base.php line 84
    apply_filters( "pmxe_get_{$this->slug}_addon_api_template_options_{$field['key']}", $templateOptions );
  • libraries/XmlExportEngine.php line 478
    do_action( 'pmxe_init_addons' );
  • views/admin/manage/index.php line 484
    do_action( 'pmxe_manage_imports_column', $column_id, $item );
  • views/admin/manage/index.php line 77
    apply_filters( 'pmxe_manage_imports_columns', $columns );
  • libraries/XmlExportCpt.php line 256
    apply_filters( 'pmxe_menu_order', pmxe_filter($entry->menu_order, $fieldSnippet), $entry->ID );
  • libraries/XmlExportCpt.php line 250
    apply_filters( 'pmxe_ping_status', pmxe_filter($entry->ping_status, $fieldSnippet), $entry->ID );
  • libraries/XmlExportCpt.php line 167
    apply_filters( 'pmxe_post_content', pmxe_filter($postContent, $fieldSnippet), $entry->ID );
  • libraries/XmlExportCpt.php line 217
    apply_filters( 'pmxe_post_date', pmxe_filter($post_date, $fieldSnippet), $entry->ID );
  • libraries/XmlExportCpt.php line 311
    apply_filters( 'pmxe_post_excerpt', pmxe_filter($entry->post_excerpt, $fieldSnippet), $entry->ID );
  • libraries/XmlExportCpt.php line 262
    apply_filters( 'pmxe_post_format', pmxe_filter(get_post_format($entry->ID), $fieldSnippet), $entry->ID );
  • libraries/XmlExportCpt.php line 125
    apply_filters( 'pmxe_post_guid', pmxe_filter(get_permalink(), $fieldSnippet), $entry->ID );
  • pmxe_post_id

    filter
    libraries/XmlExportCpt.php line 122
    apply_filters( 'pmxe_post_id', pmxe_filter($entry->ID, $fieldSnippet), $entry->ID );
  • libraries/XmlExportCpt.php line 221
    apply_filters( 'pmxe_post_modified_date', pmxe_filter($post_date, $fieldSnippet), $entry->ID );
  • libraries/XmlExportCpt.php line 224
    apply_filters( 'pmxe_post_parent', pmxe_filter($entry->post_parent, $fieldSnippet), $entry->ID );
  • libraries/XmlExportCpt.php line 244
    apply_filters( 'pmxe_post_parent_slug', pmxe_filter($val, $fieldSnippet), $entry->ID );
  • libraries/XmlExportCpt.php line 308
    apply_filters( 'pmxe_post_slug', pmxe_filter($entry->post_name, $fieldSnippet), $entry->ID );
  • libraries/XmlExportCpt.php line 259
    apply_filters( 'pmxe_post_status', pmxe_filter($entry->post_status, $fieldSnippet), $entry->ID );
  • libraries/XmlExportCpt.php line 541
    apply_filters( 'pmxe_post_taxonomy', pmxe_filter(implode($implode_delimiter, $hierarchy_groups), $fieldSnippet), $entry->ID );
  • libraries/XmlExportCpt.php line 253
    apply_filters( 'pmxe_post_template', pmxe_filter(get_post_meta($entry->ID, '_wp_page_template', true), $fieldSnippet), $entry->ID );
  • libraries/XmlExportCpt.php line 132
    apply_filters( 'pmxe_post_title', pmxe_filter($entry->post_title, $fieldSnippet) );
  • libraries/XmlExportCpt.php line 129
    apply_filters( 'pmxe_post_type', pmxe_filter($pType, $fieldSnippet), $entry->ID );
  • pmxe_price

    filter
    helpers/pmxe_prepare_price.php line 56
    apply_filters( 'pmxe_price', $price );
  • libraries/XmlExportEngine.php line 777
    do_action( "pmxe_render_{$addon}_addon", $i );
  • src/App/UnsecuredController/SchedulingController.php line 148
    do_action( 'pmxe_scheduled_request_authenticated', $export->id );
  • views/admin/export/template.php line 43
    do_action( 'pmxe_template_header', $this->isWizard, $post );
  • libraries/XmlExportTaxonomy.php line 295
    apply_filters( 'pmxe_term_count', pmxe_filter($term->count, $fieldSnipped), $term->term_id );
  • libraries/XmlExportTaxonomy.php line 269
    apply_filters( 'pmxe_term_description', pmxe_filter($term->description, $fieldSnipped), $term->term_id );
  • pmxe_term_id

    filter
    libraries/XmlExportTaxonomy.php line 260
    apply_filters( 'pmxe_term_id', pmxe_filter($term->term_id, $fieldSnipped), $term->term_id );
  • libraries/XmlExportTaxonomy.php line 263
    apply_filters( 'pmxe_term_name', pmxe_filter($term->name, $fieldSnipped), $term->term_id );
  • libraries/XmlExportTaxonomy.php line 266
    apply_filters( 'pmxe_term_slug', pmxe_filter($term->slug, $fieldSnipped), $term->term_id );
  • libraries/XmlCsvExport.php line 463
    apply_filters( 'wp_all_export_add_after_node', array(), XmlExportEngine::$exportOptions, XmlExportEngine::$exportID, $pid );
  • libraries/XmlCsvExport.php line 452
    apply_filters( 'wp_all_export_add_before_node', array(), XmlExportEngine::$exportOptions, XmlExportEngine::$exportID, $pid );
  • libraries/XmlExportEngine.php line 641
    apply_filters( 'wp_all_export_available_data', $this->available_data );
  • libraries/XmlExportEngine.php line 863
    do_action( 'wp_all_export_before_available_subsection', $sub_slug, $sub_section );
  • wp-all-export.php line 732
    apply_filters( 'wp_all_export_config_options', $this->options );
  • libraries/XmlCsvExport.php line 1069
    apply_filters( 'wp_all_export_csv_sanitized_value', $value );
  • libraries/XmlCsvExport.php line 1005
    apply_filters( 'wp_all_export_csv_strategy', \Wpae\Csv\CsvWriter::CSV_STRATEGY_DEFAULT );
  • libraries/XmlExportEngine.php line 638
    apply_filters( 'wp_all_export_default_fields', self::$default_fields );
  • helpers/wp_all_export_generate_export_file.php line 39
    apply_filters( 'wp_all_export_export_file_name', $target . DIRECTORY_SEPARATOR . $export_file_name, $export_id );
  • libraries/XmlExportEngine.php line 951
    apply_filters( 'wp_all_export_filters', $this->available_sections );
  • actions/pmxe_after_export.php line 261
    apply_filters( 'wp_all_export_generate_bundle', true );
  • libraries/XmlExportEngine.php line 470
    apply_filters( 'wp_all_export_implode_delimiter', self::$implode, self::$exportID );
  • libraries/XmlExportEngine.php line 637
    apply_filters( 'wp_all_export_init_fields', $this->init_fields );
  • actions/pmxe_after_export.php line 63
    apply_filters( 'wp_all_export_is_csv_headers_enabled', true, $export->id );
  • classes/XMLWriter.php line 125
    apply_filters( 'wp_all_export_is_wrap_value_into_cdata', $is_wrap_into_cdata, $value, $element_name );
  • actions/wp_loaded.php line 81
    apply_filters( 'wp_all_export_no_cache', false );
  • src/WordPress/OrderQuery.php line 50
    apply_filters( 'wp_all_export_order_by', $order_by );
  • libraries/XmlExportEngine.php line 639
    apply_filters( 'wp_all_export_other_fields', $this->other_fields );
  • actions/pmxe_after_export.php line 115
    apply_filters( 'wp_all_export_pre_csv_headers', $preCsvHeaders, $export->id );
  • libraries/XmlExportEngine.php line 1345
    apply_filters( 'wp_all_export_product_variation_mode', self::$exportOptions['export_variations'], self::$exportID );
  • actions/pmxe_after_export.php line 71
    apply_filters( 'wp_all_export_remove_csv_headers', $removeHeaders, $export->id );
  • addon-api/fields/field.php line 222
    apply_filters( 'wp_all_export_repeater_delimiter', \XmlExportEngine::$exportOptions['delimiter'] == ',' ? '|' : ',', \XmlExportEngine::$exportID );
  • libraries/XmlCsvExport.php line 1046
    apply_filters( 'wp_all_export_sanitize_csv_data', true, $value );
  • libraries/XmlExportEngine.php line 862
    apply_filters( 'wp_all_export_show_additional_subsection', true, $sub_slug, $sub_section );
  • src/Pro/Filtering/FilteringCustom.php line 98
    apply_filters( 'wp_all_export_single_filter_rule', $rule );
  • libraries/XmlCsvExport.php line 1006
    apply_filters( 'wp_all_export_use_csv_compliant_line_endings', false );
  • views/admin/export/index.php line 62
    apply_filters( 'wpallexport_custom_types', $custom_types );
  • views/admin/export/template.php line 624
    apply_filters( 'wpallexport_info_panel', '' );
  • classes/handler.php line 53
    apply_filters( 'wpallexport_session_expiration', 60 * 60 * 48 );
  • classes/handler.php line 52
    apply_filters( 'wpallexport_session_expiring', 60 * 60 * 47 );
  • libraries/XmlExportCpt.php line 504
    apply_filters( 'wpml_current_language', null );

Generated from WP All Export's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: