Zum Inhalt springen

Hooks

Diese Referenz wird bei jedem Dokumentations-Build direkt aus der von Woo Batches erzeugten Hook-Datei aufgebaut. Du kannst nach Hook-Namen, Beschreibungen und Parametern suchen oder nach Hook-Typ filtern.

Hinweis: Hooks sind für individuelle Entwicklungen gedacht. Wir können Anpassungen außerhalb eines beauftragten Entwicklungsumfangs nicht im regulären Produktsupport analysieren.

178Hooks
39Actions
139Filter

Datenstand: 10.07.2025, 22:50 UTC

178 Hooks

filterwoo_batches_admin_{page}_tabs_arrayWoo Batches

This filter filters the admin page tabs array

                  apply_filters( 'woo_batches_admin_{page}_tabs_array', array $page_tabs_array );
                

Parameter

$page_tabs_arrayarray
Includes the page tabs array
filterwoo_batches_admin_additional_screen_idsWoo Batches

This filter filters the admin additional screen IDS

                  apply_filters( 'woo_batches_admin_additional_screen_ids', array $additional_screen_ids );
                

Parameter

$additional_screen_idsarray
Includes all additional screen IDs
actionwoo_batches_admin_after_batches_details_email_tableWoo Batches

This hook fires after the batches details email table

                  do_action( 'woo_batches_admin_after_batches_details_email_table', Woo_Batches_Data_Store_Batch_Model[] $batches, bool $plain_text );
                

Parameter

$batchesWoo_Batches_Data_Store_Batch_Model[]
Includes all batches
$plain_textbool
If plain text or not
actionwoo_batches_admin_after_page_action_{page}Woo Batches

This hook fires after an admin page action

                  do_action( 'woo_batches_admin_after_page_action_{page}' );
                
actionwoo_batches_admin_after_settings_{current_tab}Woo Batches

This hook fires after the settings output

                  do_action( 'woo_batches_admin_after_settings_{current_tab}' );
                
filterwoo_batches_admin_ajax_process_product_search_resultWoo Batches

This filter filters the admin AJAX process product search result

                  apply_filters( 'woo_batches_admin_ajax_process_product_search_result', array $product_result, WC_Product|bool|null $product );
                

Parameter

$product_resultarray
Includes a product search result (ID and text)
$productWC_Product|bool|null
The product object
filterwoo_batches_admin_ajax_validate_batch_numbersWoo Batches

This filter filters the admin AJAX validate batch numbers

                  apply_filters( 'woo_batches_admin_ajax_validate_batch_numbers', array $batch_number_duplicates, array $batches );
                

Parameter

$batch_number_duplicatesarray
Includes already existing batch numbers
$batchesarray
Includes all checked batches
filterwoo_batches_admin_batch_add_form_methodWoo Batches

This filter filters the admin batch add form method

                  apply_filters( 'woo_batches_admin_batch_add_form_method', string $batch_add_form_method );
                

Parameter

$batch_add_form_methodstring
The form method for the batch add form
filterwoo_batches_admin_batches_create_batch_dataWoo Batches

This filter filters the admin batch create batch data

                  apply_filters( 'woo_batches_admin_batches_create_batch_data', array $batch_data, array $post );
                

Parameter

$batch_dataarray
Includes all batch data
$postarray
Includes all variables passed to the current script via the HTTP POST method
filterwoo_batches_admin_batches_get_create_batch_urlWoo Batches

This filter filters the admin batches create batch URL

                  apply_filters( 'woo_batches_admin_batches_get_create_batch_url', string $create_batch_url );
                

Parameter

$create_batch_urlstring
The create batch URL
filterwoo_batches_admin_batches_list_table_classesWoo Batches

This filter filters the admin batches list table classes

                  apply_filters( 'woo_batches_admin_batches_list_table_classes', array $table_classes );
                

Parameter

$table_classesarray
Includes all table classes
filterwoo_batches_admin_batches_list_table_no_itemsWoo Batches

This filter filters the admin batches list table no items message

                  apply_filters( 'woo_batches_admin_batches_list_table_no_items', string $message );
                

Parameter

$messagestring
The no items message
filterwoo_batches_admin_batches_list_table_process_sortingWoo Batches

This filter filters the admin batches list table process sorting

                  apply_filters( 'woo_batches_admin_batches_list_table_process_sorting', array $batches );
                

Parameter

$batchesarray
Includes all batches
filterwoo_batches_admin_batches_list_table_sortable_columnsWoo Batches

This filter filters the admin batches list table sortable columns

                  apply_filters( 'woo_batches_admin_batches_list_table_sortable_columns', array $valid_sortable_columns );
                

Parameter

$valid_sortable_columnsarray
Includes all valid sortable columns
filterwoo_batches_admin_batches_page_titleWoo Batches

This filter filters the admin batches page title

                  apply_filters( 'woo_batches_admin_batches_page_title', string $title );
                

Parameter

$titlestring
The title
filterwoo_batches_admin_batches_page_title_actionsWoo Batches

This filter filters the admin batches page title actions

                  apply_filters( 'woo_batches_admin_batches_page_title_actions', array $page_title_actions );
                

Parameter

$page_title_actionsarray
Includes the page title actions
filterwoo_batches_admin_batches_views_arrayWoo Batches

This filter filters the admin batches views

                  apply_filters( 'woo_batches_admin_batches_views_array', array $batches_views );
                

Parameter

$batches_viewsarray
Includes the batches views
actionwoo_batches_admin_before_batches_details_email_tableWoo Batches

This hook fires before the batches details email table

                  do_action( 'woo_batches_admin_before_batches_details_email_table', Woo_Batches_Data_Store_Batch_Model[] $batches, bool $plain_text );
                

Parameter

$batchesWoo_Batches_Data_Store_Batch_Model[]
Includes all batches
$plain_textbool
If plain text or not
actionwoo_batches_admin_before_page_action_{page}Woo Batches

This hook fires before an admin page action

                  do_action( 'woo_batches_admin_before_page_action_{page}' );
                
actionwoo_batches_admin_before_settings_{current_tab}Woo Batches

This hook fires before the settings output

                  do_action( 'woo_batches_admin_before_settings_{current_tab}' );
                
actionwoo_batches_admin_before_status_{current_tab}Woo Batches

This hook fires before the status output

                  do_action( 'woo_batches_admin_before_status_{current_tab}' );
                
filterwoo_batches_admin_filter_admin_body_classWoo Batches

This filter filters the admin body classes

                  apply_filters( 'woo_batches_admin_filter_admin_body_class', string $admin_body_classes );
                

Parameter

$admin_body_classesstring
The admin body classes
filterwoo_batches_admin_general_settingsWoo Batches

This filter filters the general settings

                  apply_filters( 'woo_batches_admin_general_settings', array $general_settings );
                

Parameter

$general_settingsarray
Includes the general settings
filterwoo_batches_admin_get_header_actionsWoo Batches

This filter filters the admin header actions

                  apply_filters( 'woo_batches_admin_get_header_actions', array $header_actions );
                

Parameter

$header_actionsarray
Includes all header actions
filterwoo_batches_admin_get_settings_{id}Woo Batches

This filter filters the settings for a setting page

                  apply_filters( 'woo_batches_admin_get_settings_{id}', array $settings, string $current_section );
                

Parameter

$settingsarray
Includes all settings
$current_sectionstring
The current settings section
filterwoo_batches_admin_get_settings_sections_{id}Woo Batches

This filter filters the settings sections for a settings page

                  apply_filters( 'woo_batches_admin_get_settings_sections_{id}', array $sections );
                

Parameter

$sectionsarray
Includes all sections
filterwoo_batches_admin_get_status_page_{id}Woo Batches

This filter filters the current admin status page ID

                  apply_filters( 'woo_batches_admin_get_status_page_{id}', string $id );
                

Parameter

$idstring
The page ID
filterwoo_batches_admin_get_woo_batches_navigation_breadcrumbsWoo Batches

This filter filters the admin navigation breadcrumbs

                  apply_filters( 'woo_batches_admin_get_woo_batches_navigation_breadcrumbs', array $breadcrumbs );
                

Parameter

$breadcrumbsarray
Includes all breadcrumbs
filterwoo_batches_admin_get_woo_batches_pagesWoo Batches

This filter filters all pages

                  apply_filters( 'woo_batches_admin_get_woo_batches_pages', array $pages );
                

Parameter

$pagesarray
Includes all pages
filterwoo_batches_admin_navigation_breadcrumb_admin_page_titleWoo Batches

This filter filters the admin navigation breadcrumb admin page title

                  apply_filters( 'woo_batches_admin_navigation_breadcrumb_admin_page_title', string $page_title, string $screen_id );
                

Parameter

$page_titlestring
The page title
$screen_idstring
The screen ID
filterwoo_batches_admin_navigation_breadcrumb_extension_displayed_tabWoo Batches

This filter filters the admin navigation breadcrumb extension displayed tab

                  apply_filters( 'woo_batches_admin_navigation_breadcrumb_extension_displayed_tab', string $displayed_tab, string $page_id, array $page_data );
                

Parameter

$displayed_tabstring
The displayed tab
$page_idstring
The page ID
$page_dataarray
Includes all page data
filterwoo_batches_admin_navigation_breadcrumb_extension_viewWoo Batches

This filter filters the admin navigation breadcrumb extension view

                  apply_filters( 'woo_batches_admin_navigation_breadcrumb_extension_view', string $view, string $page_id, array $page_data );
                

Parameter

$viewstring
The view
$page_idstring
The page ID
$page_dataarray
Includes all page data
filterwoo_batches_admin_navigation_breadcrumb_page_data_titleWoo Batches

This filter filters the admin navigation breadcrumb page data tile

                  apply_filters( 'woo_batches_admin_navigation_breadcrumb_page_data_title', string $title, string $page_id );
                

Parameter

$titlestring
The page data title
$page_idstring
The page ID
filterwoo_batches_admin_navigation_breadcrumbsWoo Batches

This filter filters all plugin admin navigation breadcrumbs

                  apply_filters( 'woo_batches_admin_navigation_breadcrumbs', array $breadcrumbs );
                

Parameter

$breadcrumbsarray
Includes navigation breadcrumbs
filterwoo_batches_admin_order_settingsWoo Batches

This filter filters the order settings

                  apply_filters( 'woo_batches_admin_order_settings', array $order_settings );
                

Parameter

$order_settingsarray
Includes the order settings
actionwoo_batches_admin_page_action_{page}Woo Batches

This hook fires the admin page action

                  do_action( 'woo_batches_admin_page_action_{page}' );
                
filterwoo_batches_admin_page_actions_is_woo_batches_pageWoo Batches

This filter filters if its a plugin page or not

                  apply_filters( 'woo_batches_admin_page_actions_is_woo_batches_page', bool $is_woo_batches_page );
                

Parameter

$is_woo_batches_pagebool
If its a plugin page or not
filterwoo_batches_admin_product_settingsWoo Batches

This filter filters the product settings

                  apply_filters( 'woo_batches_admin_product_settings', array $product_settings );
                

Parameter

$product_settingsarray
Includes the product settings
filterwoo_batches_admin_screen_idsWoo Batches

This filter filters the admin screen IDS

                  apply_filters( 'woo_batches_admin_screen_ids', array $screen_ids, string $woo_batches_screen_id );
                

Parameter

$screen_idsarray
Includes all screen IDs
$woo_batches_screen_idstring
Default plugin screen ID
actionwoo_batches_admin_settings_{current_tab}Woo Batches

This hook fires during the settings content output

                  do_action( 'woo_batches_admin_settings_{current_tab}' );
                
actionwoo_batches_admin_settings_{id}Woo Batches

This hook fires when a setting gets outputted

                  do_action( 'woo_batches_admin_settings_{id}' );
                
actionwoo_batches_admin_settings_{id}_afterWoo Batches

This hook fires after a section was outputted

                  do_action( 'woo_batches_admin_settings_{id}_after' );
                
actionwoo_batches_admin_settings_{id}_endWoo Batches

This hook fires when a section end gets outputted

                  do_action( 'woo_batches_admin_settings_{id}_end' );
                
actionwoo_batches_admin_settings_after_output_action_{id}Woo Batches

This hook fires after the settings output action

                  do_action( 'woo_batches_admin_settings_after_output_action_{id}', array $settings, string $current_section );
                

Parameter

$settingsarray
Includes all settings
$current_sectionstring
The current settings section
actionwoo_batches_admin_settings_before_output_action_{id}Woo Batches

This hook fires before the settings output action

                  do_action( 'woo_batches_admin_settings_before_output_action_{id}', array $settings, string $current_section );
                

Parameter

$settingsarray
Includes all settings
$current_sectionstring
The current settings section
filterwoo_batches_admin_settings_export_csv_columnsWoo Batches

This filter filters all available settings export CSV columns

                  apply_filters( 'woo_batches_admin_settings_export_csv_columns', array $export_columns );
                

Parameter

$export_columnsarray
The export CSV columns
filterwoo_batches_admin_settings_export_form_methodWoo Batches

This filter filters the admin settings export form method

                  apply_filters( 'woo_batches_admin_settings_export_form_method', string $settings_export_form_method );
                

Parameter

$settings_export_form_methodstring
The form method for the settings export form
actionwoo_batches_admin_settings_field_{setting_type}Woo Batches

This hook fires when the settings type don't fits

                  do_action( 'woo_batches_admin_settings_field_{setting_type}', array $setting );
                

Parameter

$settingarray
Includes setting parameters
filterwoo_batches_admin_settings_form_method_tab_{current_tab}Woo Batches

This filter filters the admin settings form method

                  apply_filters( 'woo_batches_admin_settings_form_method_tab_{current_tab}', string $settings_form_method );
                

Parameter

$settings_form_methodstring
The form method for the settings form
filterwoo_batches_admin_settings_get_export_settings_urlWoo Batches

This filter filters the export settings URL

                  apply_filters( 'woo_batches_admin_settings_get_export_settings_url', string $export_settings_url );
                

Parameter

$export_settings_urlstring
The export settings URL
filterwoo_batches_admin_settings_get_import_settings_urlWoo Batches

This filter filters the import settings URL

                  apply_filters( 'woo_batches_admin_settings_get_import_settings_url', string $import_settings_url );
                

Parameter

$import_settings_urlstring
The import settings URL
filterwoo_batches_admin_settings_get_optionWoo Batches

This filter filters the current setting value (option)

                  apply_filters( 'woo_batches_admin_settings_get_option', mixed $setting_value, int|string $setting_id );
                

Parameter

$setting_valuemixed
The setting value (or default)
$setting_idint|string
The setting ID
filterwoo_batches_admin_settings_import_form_methodWoo Batches

This filter filters the admin settings import form method

                  apply_filters( 'woo_batches_admin_settings_import_form_method', string $settings_import_form_method );
                

Parameter

$settings_import_form_methodstring
The form method for the settings import form
filterwoo_batches_admin_settings_output_action_{id}_output_settings_fieldsWoo Batches

This filter filters if the settings fields should be outputted

                  apply_filters( 'woo_batches_admin_settings_output_action_{id}_output_settings_fields', bool $output_settings_fields, string $current_section );
                

Parameter

$output_settings_fieldsbool
If settings fields should be outputted
$current_sectionstring
The current settings section
filterwoo_batches_admin_settings_page_title_actionsWoo Batches

This filter filters the admin settings page title actions

                  apply_filters( 'woo_batches_admin_settings_page_title_actions', array $page_title_actions );
                

Parameter

$page_title_actionsarray
Includes the page title actions
filterwoo_batches_admin_settings_sanitize_optionWoo Batches

This filter filters the sanitized settings option

                  apply_filters( 'woo_batches_admin_settings_sanitize_option', mixed|null $value, mixed $option, array|mixed|null|string $raw_value );
                

Parameter

$valuemixed|null
The value
$optionmixed
The option
$raw_valuearray|mixed|null|string
The raw value
filterwoo_batches_admin_settings_sanitize_option_{option_name}Woo Batches

Sanitize the value of an option by option name

                  apply_filters( 'woo_batches_admin_settings_sanitize_option_{option_name}', mixed|null $value, mixed $option, array|mixed|null|string $raw_value );
                

Parameter

$valuemixed|null
The value
$optionmixed
The option
$raw_valuearray|mixed|null|string
The raw value
actionwoo_batches_admin_settings_save_{current_tab}Woo Batches

This hook fires when a settings page gets saved

                  do_action( 'woo_batches_admin_settings_save_{current_tab}' );
                
actionwoo_batches_admin_settings_save_{id}Woo Batches

This hook fires during the saving of settings

                  do_action( 'woo_batches_admin_settings_save_{id}', string $current_section );
                

Parameter

$current_sectionstring
The current settings section
actionwoo_batches_admin_settings_save_fieldsWoo Batches

This hook fires when settings fields getting saved

                  do_action( 'woo_batches_admin_settings_save_fields', array $update_options );
                

Parameter

$update_optionsarray
Includes all options to update
actionwoo_batches_admin_settings_savedWoo Batches

This hook fires when a settings page was saved

                  do_action( 'woo_batches_admin_settings_saved' );
                
actionwoo_batches_admin_settings_saved_fieldsWoo Batches

This hook fires when settings fields are saved

                  do_action( 'woo_batches_admin_settings_saved_fields', array $update_options );
                

Parameter

$update_optionsarray
Includes all options to update
actionwoo_batches_admin_settings_sections_{current_tab}Woo Batches

This hook fires during the settings sections output

                  do_action( 'woo_batches_admin_settings_sections_{current_tab}' );
                
actionwoo_batches_admin_settings_tabsWoo Batches

This hook fires during the settings tabs output

                  do_action( 'woo_batches_admin_settings_tabs' );
                
filterwoo_batches_admin_settings_tabs_arrayWoo Batches

This filter filters the admin settings tabs array

                  apply_filters( 'woo_batches_admin_settings_tabs_array', array $tabs );
                

Parameter

$tabsarray
Includes the settings tabs
filterwoo_batches_admin_settings_update_optionWoo Batches

This filter filters the settings update option

                  apply_filters( 'woo_batches_admin_settings_update_option', mixed|null $setting_value, int|string $setting_id );
                

Parameter

$setting_valuemixed|null
The setting value
$setting_idint|string
The setting ID
filterwoo_batches_admin_settings_views_arrayWoo Batches

This filter filters the admin settings views

                  apply_filters( 'woo_batches_admin_settings_views_array', array $settings_views );
                

Parameter

$settings_viewsarray
Includes the settings views
filterwoo_batches_admin_setup_wizard_get_current_step_indexWoo Batches

This filter filters the current setup wizard step index

                  apply_filters( 'woo_batches_admin_setup_wizard_get_current_step_index', int $current_step_index );
                

Parameter

$current_step_indexint
The current step index
filterwoo_batches_admin_setup_wizard_get_current_step_keyWoo Batches

This filter filters the current setup wizard step key

                  apply_filters( 'woo_batches_admin_setup_wizard_get_current_step_key', string $current_step_key );
                

Parameter

$current_step_keystring
The current step key
filterwoo_batches_admin_setup_wizard_get_error_messageWoo Batches

This filter filters the setup wizard error message

                  apply_filters( 'woo_batches_admin_setup_wizard_get_error_message', false|mixed $error_message );
                

Parameter

$error_messagefalse|mixed
The error message
filterwoo_batches_admin_setup_wizard_get_first_steps_listWoo Batches

This filter filters the setup wizard first steps list

                  apply_filters( 'woo_batches_admin_setup_wizard_get_first_steps_list', array $first_steps_list );
                

Parameter

$first_steps_listarray
Includes all first steps
filterwoo_batches_admin_setup_wizard_get_next_stepWoo Batches

This filter filters the next step key

                  apply_filters( 'woo_batches_admin_setup_wizard_get_next_step', int|string $next_step_key );
                

Parameter

$next_step_keyint|string
The next step key
filterwoo_batches_admin_setup_wizard_get_setup_wizard_stepsWoo Batches

This filter filters the setup wizard steps

                  apply_filters( 'woo_batches_admin_setup_wizard_get_setup_wizard_steps', array $steps );
                

Parameter

$stepsarray
Includes the steps
filterwoo_batches_admin_setup_wizard_get_stepWoo Batches

This filter filters a setup wizard step given by step key

                  apply_filters( 'woo_batches_admin_setup_wizard_get_step', array|false $step );
                

Parameter

$steparray|false
The requested step
filterwoo_batches_admin_setup_wizard_get_step_indexWoo Batches

This filter filters the setup wizard step index

                  apply_filters( 'woo_batches_admin_setup_wizard_get_step_index', int $step_index );
                

Parameter

$step_indexint
The step index
filterwoo_batches_admin_setup_wizard_get_step_urlWoo Batches

This filter filters the setup wizard step URL

                  apply_filters( 'woo_batches_admin_setup_wizard_get_step_url', string $step_url );
                

Parameter

$step_urlstring
The step URL
filterwoo_batches_admin_setup_wizard_get_stepsWoo Batches

This filter filters the setup wizard get steps

                  apply_filters( 'woo_batches_admin_setup_wizard_get_steps', array $steps );
                

Parameter

$stepsarray
Includes the steps
actionwoo_batches_admin_status_{current_tab}Woo Batches

This hook fires during the status content output

                  do_action( 'woo_batches_admin_status_{current_tab}' );
                
actionwoo_batches_admin_status_after_system_status_reportWoo Batches

This hook fires after the system status report

                  do_action( 'woo_batches_admin_status_after_system_status_report' );
                
filterwoo_batches_admin_status_format_plugin_dataWoo Batches

This filter filters the admin status formatted plugin data

                  apply_filters( 'woo_batches_admin_status_format_plugin_data', array $plugin_data );
                

Parameter

$plugin_dataarray
Includes all formatted plugin data
filterwoo_batches_admin_status_generate_system_reportWoo Batches

This filter filters the admin status system report

                  apply_filters( 'woo_batches_admin_status_generate_system_report', array $system_report );
                

Parameter

$system_reportarray
Includes the whole system report
filterwoo_batches_admin_status_get_active_plugin_detailsWoo Batches

This filter filters the admin status active plugins details

                  apply_filters( 'woo_batches_admin_status_get_active_plugin_details', array $active_plugins_data );
                

Parameter

$active_plugins_dataarray
Includes the active plugins
filterwoo_batches_admin_status_get_database_detailsWoo Batches

This filter filters the admin status database details

                  apply_filters( 'woo_batches_admin_status_get_database_details', array $database_details );
                

Parameter

$database_detailsarray
Includes the database details
filterwoo_batches_admin_status_get_inactive_plugin_detailsWoo Batches

This filter filters the admin status inactive plugins details

                  apply_filters( 'woo_batches_admin_status_get_inactive_plugin_details', array $inactive_plugins_data );
                

Parameter

$inactive_plugins_dataarray
Includes the inactive plugins
filterwoo_batches_admin_status_get_security_detailsWoo Batches

This filter filters the admin status security details

                  apply_filters( 'woo_batches_admin_status_get_security_details', array $security_details );
                

Parameter

$security_detailsarray
Includes the security details
filterwoo_batches_admin_status_get_server_environment_detailsWoo Batches

This filter filters the admin status server environment details

                  apply_filters( 'woo_batches_admin_status_get_server_environment_details', array $server_environment_details );
                

Parameter

$server_environment_detailsarray
Includes the server environment details
filterwoo_batches_admin_status_get_settings_detailsWoo Batches

This filter filters the admin status settings details

                  apply_filters( 'woo_batches_admin_status_get_settings_details', array $settings_details );
                

Parameter

$settings_detailsarray
Includes all settings details
filterwoo_batches_admin_status_get_theme_detailsWoo Batches

This filter filters the admin status active theme details

                  apply_filters( 'woo_batches_admin_status_get_theme_details', array $active_theme_info );
                

Parameter

$active_theme_infoarray
Includes all active theme details
filterwoo_batches_admin_status_get_timezone_nameWoo Batches

This filter filters the admin status timezone name

                  apply_filters( 'woo_batches_admin_status_get_timezone_name', string $timezone_name );
                

Parameter

$timezone_namestring
The timezone name
filterwoo_batches_admin_status_get_utc_offsetWoo Batches

This filter filters the admin status UTC offset

                  apply_filters( 'woo_batches_admin_status_get_utc_offset', string $utc_offset, string $formatted_offset );
                

Parameter

$utc_offsetstring
The UTC offset
$formatted_offsetstring
The formatted offset
filterwoo_batches_admin_status_get_wp_environment_detailsWoo Batches

This filter filters the admin status WordPress environment details

                  apply_filters( 'woo_batches_admin_status_get_wp_environment_details', array $wp_environment_details );
                

Parameter

$wp_environment_detailsarray
Includes the WordPress environment details
filterwoo_batches_admin_status_scheduled_actions_list_table_get_hook_callbacksWoo Batches

This filter filters the admin status scheduled actions table hook callbacks

                  apply_filters( 'woo_batches_admin_status_scheduled_actions_list_table_get_hook_callbacks', array $hook_callbacks );
                

Parameter

$hook_callbacksarray
Includes all hook callbacks
filterwoo_batches_admin_status_scheduled_actions_list_table_get_table_classesWoo Batches

This filter filters the admin status scheduled actions table classes

                  apply_filters( 'woo_batches_admin_status_scheduled_actions_list_table_get_table_classes', array $table_classes );
                

Parameter

$table_classesarray
Includes all table classes
filterwoo_batches_admin_status_scheduled_actions_list_table_no_itemsWoo Batches

This filter filters the admin status scheduled actions list table no items message

                  apply_filters( 'woo_batches_admin_status_scheduled_actions_list_table_no_items', string $message );
                

Parameter

$messagestring
The no items message
filterwoo_batches_admin_status_scheduled_actions_list_table_populate_callbackWoo Batches

This filter filters the admin status scheduled actions populate callback

                  apply_filters( 'woo_batches_admin_status_scheduled_actions_list_table_populate_callback', array $callback );
                

Parameter

$callbackarray
Includes the populate callback
filterwoo_batches_admin_status_scheduled_actions_list_table_process_searchWoo Batches

This filter filters the admin status scheduled actions table process search

                  apply_filters( 'woo_batches_admin_status_scheduled_actions_list_table_process_search', array $cron_events );
                

Parameter

$cron_eventsarray
Includes all cron events
filterwoo_batches_admin_status_scheduled_actions_list_table_process_sortingWoo Batches

This filter filters the admin status scheduled actions table process sorting

                  apply_filters( 'woo_batches_admin_status_scheduled_actions_list_table_process_sorting', array $cron_events );
                

Parameter

$cron_eventsarray
Includes all cron events
actionwoo_batches_admin_status_scheduled_actions_list_table_row_actionsWoo Batches

This hook fires when a custom link gets added to the row actions

                  do_action( 'woo_batches_admin_status_scheduled_actions_list_table_row_actions', array $links );
                

Parameter

$linksarray
Includes the schedules actions table row links
filterwoo_batches_admin_status_scheduled_actions_list_table_sortable_columnsWoo Batches

This filter filters the admin status scheduled actions table sortable columns

                  apply_filters( 'woo_batches_admin_status_scheduled_actions_list_table_sortable_columns', array $valid_sortable_columns );
                

Parameter

$valid_sortable_columnsarray
Includes all valid sortable columns
actionwoo_batches_admin_statuses_tabsWoo Batches

This hook fires during the statuses tabs output

                  do_action( 'woo_batches_admin_statuses_tabs' );
                
filterwoo_batches_admin_statuses_tabs_arrayWoo Batches

This filter filters the admin statuses tabs array

                  apply_filters( 'woo_batches_admin_statuses_tabs_array', array $tabs );
                

Parameter

$tabsarray
Includes the statuses tabs
actionwoo_batches_admin_wc_batches_expired_emailWoo Batches

This hook fires when a batches expired email can be sent

                  do_action( 'woo_batches_admin_wc_batches_expired_email', array $batches_details );
                

Parameter

$batches_detailsarray
Includes all required batches [ $expired_batches ]
actionwoo_batches_admin_wc_batches_stock_low_emailWoo Batches

This hook fires when a batches stock low email can be sent

                  do_action( 'woo_batches_admin_wc_batches_stock_low_email', array $batches_details );
                

Parameter

$batches_detailsarray
Includes all required batches [ $stock_low_batches ]
actionwoo_batches_admin_wc_email_batches_detailsWoo Batches

This hook fires when the email batches table including all details should be outputted

                  do_action( 'woo_batches_admin_wc_email_batches_details', array $batches_details );
                

Parameter

$batches_detailsarray
Includes all required details [ $batches, $plain_text ]
filterwoo_batches_admin_wc_orders_allocated_item_batchesWoo Batches

This filter filters the allocated item batches for an order

                  apply_filters( 'woo_batches_admin_wc_orders_allocated_item_batches', array $allocated_item_batches );
                

Parameter

$allocated_item_batchesarray
Includes all allocated item batches
filterwoo_batches_admin_wc_orders_order_item_quantityWoo Batches

This filter filters the needed quantity for an order item

                  apply_filters( 'woo_batches_admin_wc_orders_order_item_quantity', int $order_item_quantity, int $product_id );
                

Parameter

$order_item_quantityint
The order item quantity
$product_idint
The product ID
filterwoo_batches_admin_wc_orders_update_batch_on_reduce_order_stockWoo Batches

This filter filters if the batches should be updated on reduce of an order stock

                  apply_filters( 'woo_batches_admin_wc_orders_update_batch_on_reduce_order_stock', bool $reduce_order_stock );
                

Parameter

$reduce_order_stockbool
If reduce order stock
filterwoo_batches_admin_wc_products_get_import_export_columnsWoo Batches

This filter filters the custom product importer exporter columns

                  apply_filters( 'woo_batches_admin_wc_products_get_import_export_columns', array $import_export_columns );
                

Parameter

$import_export_columnsarray
Includes the import export columns
actionwoo_batches_after_get_templateWoo Batches

This hook fires after a template was loaded

                  do_action( 'woo_batches_after_get_template', string $template, string $args );
                

Parameter

$templatestring
The template
$argsstring
The args for the template
actionwoo_batches_after_loadWoo Batches

This hook fires after the plugin load

                  do_action( 'woo_batches_after_load' );
                
actionwoo_batches_after_product_batches_tableWoo Batches

This hook fires after the batches table on the single product page

                  do_action( 'woo_batches_after_product_batches_table' );
                
actionwoo_batches_before_get_templateWoo Batches

This hook fires before a template gets loaded

                  do_action( 'woo_batches_before_get_template', string $template, string $args );
                

Parameter

$templatestring
The template
$argsstring
The args for the template
actionwoo_batches_before_loadWoo Batches

This hook fires before the plugin load

                  do_action( 'woo_batches_before_load' );
                
filterwoo_batches_cron_jobs_filter_cron_schedulesWoo Batches

This filter filters the custom plugin cron job schedules

                  apply_filters( 'woo_batches_cron_jobs_filter_cron_schedules', array $schedules );
                

Parameter

$schedulesarray
filterwoo_batches_cron_jobs_get_cron_hooksWoo Batches

This filter filters all cron job hooks from the plugin

                  apply_filters( 'woo_batches_cron_jobs_get_cron_hooks', array $cron_hooks, bool $include_helper, bool $is_uninstall );
                

Parameter

$cron_hooksarray
Includes all cron hooks
$include_helperbool
If the helper plugins should be included
$is_uninstallbool
If is uninstall of the plugin
filterwoo_batches_cron_jobs_get_formatted_cron_eventsWoo Batches

This filter filters all formatted plugin cron events

                  apply_filters( 'woo_batches_cron_jobs_get_formatted_cron_events', array $formatted_cron_events );
                

Parameter

$formatted_cron_eventsarray
Includes all formatted plugin cron events
filterwoo_batches_data_store_additional_order_by_directivesWoo Batches

This filter filters the data store exists by query

                  apply_filters( 'woo_batches_data_store_additional_order_by_directives', string $additional_directives );
                

Parameter

$additional_directivesstring
The additional order by directives
filterwoo_batches_data_store_count_by_queryWoo Batches

This filter filters the data store count by query

                  apply_filters( 'woo_batches_data_store_count_by_query', string $count_by_query );
                

Parameter

$count_by_querystring
The count by query
filterwoo_batches_data_store_delete_queryWoo Batches

This filter filters the data store delete query

                  apply_filters( 'woo_batches_data_store_delete_query', string $delete_query );
                

Parameter

$delete_querystring
The delete query
filterwoo_batches_data_store_exists_by_queryWoo Batches

This filter filters the data store exists by query

                  apply_filters( 'woo_batches_data_store_exists_by_query', string $exists_by_query );
                

Parameter

$exists_by_querystring
The exists by query
filterwoo_batches_data_store_find_all_by_queryWoo Batches

This filter filters the data store find all by query

                  apply_filters( 'woo_batches_data_store_find_all_by_query', string $find_all_by_query );
                

Parameter

$find_all_by_querystring
The find all by query
filterwoo_batches_data_store_find_all_queryWoo Batches

This filter filters the data store find all query

                  apply_filters( 'woo_batches_data_store_find_all_query', string $find_all_query );
                

Parameter

$find_all_querystring
The find all query
filterwoo_batches_data_store_find_by_queryWoo Batches

This filter filters the data store find by query

                  apply_filters( 'woo_batches_data_store_find_by_query', string $find_by_query );
                

Parameter

$find_by_querystring
The find by query
filterwoo_batches_data_store_find_queryWoo Batches

This filter filters the data store find query

                  apply_filters( 'woo_batches_data_store_find_query', string $find_query );
                

Parameter

$find_querystring
The find query
filterwoo_batches_date_formatWoo Batches

This filter filters the date format

                  apply_filters( 'woo_batches_date_format', string $date_format );
                

Parameter

$date_formatstring
The date format
filterwoo_batches_db_missing_tablesWoo Batches

This filter filters the missing DB tables

                  apply_filters( 'woo_batches_db_missing_tables', string|array $missing_tables );
                

Parameter

$missing_tablesstring|array
Includes the missing tables
filterwoo_batches_dependencies_check_plugin_slugWoo Batches

This filter filters the plugin slug

                  apply_filters( 'woo_batches_dependencies_check_plugin_slug', string $plugin_slug );
                

Parameter

$plugin_slugstring
The plugin slug to check
filterwoo_batches_dependencies_is_loadableWoo Batches

This filter filters if the plugin is loadable

                  apply_filters( 'woo_batches_dependencies_is_loadable', bool $loadable );
                

Parameter

$loadablebool
If is loadable or not
filterwoo_batches_documentation_urlWoo Batches

This filter filters the URL to the plugin documentation

                  apply_filters( 'woo_batches_documentation_url', string $documentation_url );
                

Parameter

$documentation_urlstring
The URL to the plugin documentation
filterwoo_batches_enable_setup_wizardWoo Batches

This filter filters if the setup wizard should be enabled or not

                  apply_filters( 'woo_batches_enable_setup_wizard', bool $enabled );
                

Parameter

$enabledbool
If setup wizard enabled or not
filterwoo_batches_enable_update_functionsWoo Batches

This filter filters if the update functions should be used

                  apply_filters( 'woo_batches_enable_update_functions', bool $enable_update_functions );
                

Parameter

$enable_update_functionsbool
If update functions enabled or not
filterwoo_batches_expert_setting_delete_data_uninstall_modeWoo Batches

This filter filters the expert delete data uninstall mode to remove all data during uninstall of the plugin

                  apply_filters( 'woo_batches_expert_setting_delete_data_uninstall_mode', string $uninstall_mode );
                

Parameter

$uninstall_modestring
The expert uninstall mode
filterwoo_batches_format_log_entryWoo Batches

This filter filters the formatted log entry

                  apply_filters( 'woo_batches_format_log_entry', array $log_entry );
                

Parameter

$log_entryarray
The log entry
filterwoo_batches_general_display_batches_expiration_date_order_item_meta_data_modeWoo Batches

This filter filters the display batches expiration date order item meta data mode

                  apply_filters( 'woo_batches_general_display_batches_expiration_date_order_item_meta_data_mode', string $item_meta_data_mode );
                

Parameter

$item_meta_data_modestring
The item meta data mode
filterwoo_batches_general_display_batches_order_item_meta_data_modeWoo Batches

This filter filters the display batches order item meta data mode

                  apply_filters( 'woo_batches_general_display_batches_order_item_meta_data_mode', string $item_meta_data_mode );
                

Parameter

$item_meta_data_modestring
The item meta data mode
filterwoo_batches_general_display_batches_order_items_modeWoo Batches

This filter filters the display batches order items mode

                  apply_filters( 'woo_batches_general_display_batches_order_items_mode', string $order_items_mode );
                

Parameter

$order_items_modestring
The order items mode
filterwoo_batches_general_display_batches_product_shop_modeWoo Batches

This filter filters the display batches product shop mode

                  apply_filters( 'woo_batches_general_display_batches_product_shop_mode', string $product_shop_mode );
                

Parameter

$product_shop_modestring
The product shop mode
filterwoo_batches_general_display_batches_product_shop_thresholdWoo Batches

This filter filters the display batches product shop threshold

                  apply_filters( 'woo_batches_general_display_batches_product_shop_threshold', string $product_shop_threshold );
                

Parameter

$product_shop_thresholdstring
The product shop threshold
filterwoo_batches_general_display_batches_products_overview_modeWoo Batches

This filter filters the display batches products overview mode

                  apply_filters( 'woo_batches_general_display_batches_products_overview_mode', string $products_overview_mode );
                

Parameter

$products_overview_modestring
The products overview mode
filterwoo_batches_general_display_header_actions_modeWoo Batches

This filter filters the display status of the header actions

                  apply_filters( 'woo_batches_general_display_header_actions_mode', string $display_mode );
                

Parameter

$display_modestring
The display mode
filterwoo_batches_general_display_setup_wizard_update_modeWoo Batches

This filter filters the display mode of the setup wizard after an update

                  apply_filters( 'woo_batches_general_display_setup_wizard_update_mode', string $display_mode );
                

Parameter

$display_modestring
The display mode
filterwoo_batches_general_notification_batches_stock_low_thresholdWoo Batches

This filter filters the notification batches stock low threshold

                  apply_filters( 'woo_batches_general_notification_batches_stock_low_threshold', string $stock_low_threshold );
                

Parameter

$stock_low_thresholdstring
The stock low threshold
filterwoo_batches_get_current_sectionWoo Batches

This filter filters the current page section

                  apply_filters( 'woo_batches_get_current_section', string $current_section );
                

Parameter

$current_sectionstring
The current section
filterwoo_batches_get_current_tabWoo Batches

This filter filters the current page tab

                  apply_filters( 'woo_batches_get_current_tab', string $current_tab );
                

Parameter

$current_tabstring
The current tab
filterwoo_batches_get_current_viewWoo Batches

This filter filters the current page view

                  apply_filters( 'woo_batches_get_current_view', string $current_view );
                

Parameter

$current_viewstring
The current view
filterwoo_batches_get_product_textWoo Batches

This filter filters the product text

                  apply_filters( 'woo_batches_get_product_text', string $product_text, WC_Product|bool|null $product );
                

Parameter

$product_textstring
The product text
$productWC_Product|bool|null
The product object
filterwoo_batches_includesWoo Batches

This filter filters includes (function files)

                  apply_filters( 'woo_batches_includes', array $includes );
                

Parameter

$includesarray
Includes all function filenames
filterwoo_batches_install_get_core_capabilitiesWoo Batches

This filter filters the plugins core capabilities

                  apply_filters( 'woo_batches_install_get_core_capabilities', array $capabilities );
                

Parameter

$capabilitiesarray
Includes all capabilities
filterwoo_batches_install_get_tablesWoo Batches

This filter filters the plugin tables

                  apply_filters( 'woo_batches_install_get_tables', array $tables );
                

Parameter

$tablesarray
Includes all plugin tables
actionwoo_batches_install_plugin_updatedWoo Batches

This hook fires if the plugin has been updated

                  do_action( 'woo_batches_install_plugin_updated' );
                
filterwoo_batches_install_skip_create_directories_filesWoo Batches

This filter filters if the creation of the directories and files should be skipped

                  apply_filters( 'woo_batches_install_skip_create_directories_files', bool $skip );
                

Parameter

$skipbool
If should be skipped
actionwoo_batches_installedWoo Batches

This hook fires after the plugin is installed successfully

                  do_action( 'woo_batches_installed' );
                
filterwoo_batches_is_actionWoo Batches

This filter filters if the current action is an action on a plugins page

                  apply_filters( 'woo_batches_is_action', bool $is_action );
                

Parameter

$is_actionbool
If is action on page or not
actionwoo_batches_log_deleteWoo Batches

This hook fires after a log file was deleted

                  do_action( 'woo_batches_log_delete', string $log_file, bool $deleted );
                

Parameter

$log_filestring
The log file name
$deletedbool
If the log was was deleted or not
actionwoo_batches_log_downloadWoo Batches

This hook fires after a log file download was triggered

                  do_action( 'woo_batches_log_download', string $log_file );
                

Parameter

$log_filestring
The log file name
filterwoo_batches_log_handler_file_add_messageWoo Batches

This filter filters the log file message

                  apply_filters( 'woo_batches_log_handler_file_add_message', string $message, string $log_file );
                

Parameter

$messagestring
Log message
$log_filestring
Log file
filterwoo_batches_log_handler_file_get_log_file_entry_levelWoo Batches

This filter filters the log file entry level

                  apply_filters( 'woo_batches_log_handler_file_get_log_file_entry_level', string $level );
                

Parameter

$levelstring
Log entry level
filterwoo_batches_log_handler_file_get_log_file_entry_messageWoo Batches

This filter filters the log file entry message

                  apply_filters( 'woo_batches_log_handler_file_get_log_file_entry_message', string $message );
                

Parameter

$messagestring
Log message
filterwoo_batches_log_handler_file_get_log_file_entry_timestampWoo Batches

This filter filters the log file entry timestamp

                  apply_filters( 'woo_batches_log_handler_file_get_log_file_entry_timestamp', string $timestamp );
                

Parameter

$timestampstring
Log entry timestamp
filterwoo_batches_log_handler_file_get_log_filesWoo Batches

This filter filters the log files

                  apply_filters( 'woo_batches_log_handler_file_get_log_files', array $result );
                

Parameter

$resultarray
Log files
filterwoo_batches_log_handler_file_log_size_limitWoo Batches

This filter filters the log file size limit

                  apply_filters( 'woo_batches_log_handler_file_log_size_limit', int $log_size_limit );
                

Parameter

$log_size_limitint
The log file size limit
filterwoo_batches_logger_days_to_retain_logsWoo Batches

This filter filters the days the logger should retain the logs

                  apply_filters( 'woo_batches_logger_days_to_retain_logs', int $days );
                

Parameter

$daysint
The number of days to retain the logs
filterwoo_batches_logger_log_messageWoo Batches

This filter filters the logger log message

                  apply_filters( 'woo_batches_logger_log_message', string $message, string $level, array $context );
                

Parameter

$messagestring
The log message
$levelstring
The log level
$contextarray
The log context
filterwoo_batches_order_increase_decrease_trash_untrash_modeWoo Batches

This filter filters the order increase decrease trash untrash mode

                  apply_filters( 'woo_batches_order_increase_decrease_trash_untrash_mode', string $trash_untrash_mode );
                

Parameter

$trash_untrash_modestring
The trash untrash mode
filterwoo_batches_product_sell_expired_modeWoo Batches

This filter filters the product sell expired mode

                  apply_filters( 'woo_batches_product_sell_expired_mode', string $sell_expired_mode );
                

Parameter

$sell_expired_modestring
The sell expired mode
filterwoo_batches_product_stocks_automatic_synchronization_modeWoo Batches

This filter filters the product stocks automatic synchronization mode

                  apply_filters( 'woo_batches_product_stocks_automatic_synchronization_mode', string $synchronization_mode );
                

Parameter

$synchronization_modestring
The synchronization mode
filterwoo_batches_product_stocks_synchronization_modeWoo Batches

This filter filters the product stocks synchronization mode

                  apply_filters( 'woo_batches_product_stocks_synchronization_mode', string $synchronization_mode );
                

Parameter

$synchronization_modestring
The synchronization mode
filterwoo_batches_register_log_handlersWoo Batches

This filter filters the log handlers

                  apply_filters( 'woo_batches_register_log_handlers', array $handlers );
                

Parameter

$handlersarray
The available handlers
filterwoo_batches_setting_export_csv_columnsWoo Batches

This filter filters the setting export CSV columns

                  apply_filters( 'woo_batches_setting_export_csv_columns', array $export_columns );
                

Parameter

$export_columnsarray
The export CSV columns
actionwoo_batches_setting_exporter_export_csvWoo Batches

This hook fires after the setting exporter exported a CSV and downloaded it

                  do_action( 'woo_batches_setting_exporter_export_csv', resource|false $export_buffer );
                

Parameter

$export_bufferresource|false
The export buffer for the export
filterwoo_batches_setting_exporter_export_dataWoo Batches

This filter filters the setting exporter export data

                  apply_filters( 'woo_batches_setting_exporter_export_data', array $export_data );
                

Parameter

$export_dataarray
The export data
filterwoo_batches_setting_importer_check_valid_csvWoo Batches

This filter filters if the provided import file should be checked if in valid format

                  apply_filters( 'woo_batches_setting_importer_check_valid_csv', bool $check_valid_csv );
                

Parameter

$check_valid_csvbool
If check for valid CSV should be done
filterwoo_batches_setting_importer_days_to_retain_importsWoo Batches

This filter filters the days the setting importer should retain the imports

                  apply_filters( 'woo_batches_setting_importer_days_to_retain_imports', int $days );
                

Parameter

$daysint
The number of days to retain the imports
filterwoo_batches_setting_importer_get_setting_import_dataWoo Batches

This filter filters the setting import data

                  apply_filters( 'woo_batches_setting_importer_get_setting_import_data', array $setting_import_data );
                

Parameter

$setting_import_dataarray
Includes the setting import data
filterwoo_batches_setting_importer_get_setting_import_file_pathWoo Batches

This filter filters the setting import file path

                  apply_filters( 'woo_batches_setting_importer_get_setting_import_file_path', string $setting_import_file_path );
                

Parameter

$setting_import_file_pathstring
The setting import file path
filterwoo_batches_setting_importer_get_setting_import_filesWoo Batches

This filter filters the setting import files

                  apply_filters( 'woo_batches_setting_importer_get_setting_import_files', array $result );
                

Parameter

$resultarray
Import files
filterwoo_batches_setting_importer_valid_csv_filetypesWoo Batches

This filter filters the valid CSV filetypes

                  apply_filters( 'woo_batches_setting_importer_valid_csv_filetypes', array $filetypes );
                

Parameter

$filetypesarray
The allowed filetypes
filterwoo_batches_time_formatWoo Batches

This filter filters the time format

                  apply_filters( 'woo_batches_time_format', string $time_format );
                

Parameter

$time_formatstring
The time format