Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
DataRegenerator::add_initiate_regeneration_entry_to_tools_array( array $tools_array )
Add a ‘Regenerate product attributes lookup table’ entry to the Status – Tools page.
Description Description
Parameters Parameters
- $tools_array
-
(Required) The tool definitions array that is passed ro the woocommerce_debug_tools filter.
Return Return
(array) The tools array with the entry added.
Source Source
File: src/Internal/ProductAttributesLookup/DataRegenerator.php