woocommerce_database_tables
Usage
add_filter( 'woocommerce_database_tables', 'wp_kama_woocommerce_database_tables_filter' ); /** * Function for `woocommerce_database_tables` filter-hook. * * @param $array * * @return */ function wp_kama_woocommerce_database_tables_filter( $array ){ // filter... return $array; }
- $array
- -
Where the hook is called
woocommerce_database_tables
woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php 947-965
$core_tables = apply_filters( 'woocommerce_database_tables', array( 'woocommerce_sessions', 'woocommerce_api_keys', 'woocommerce_attribute_taxonomies', 'woocommerce_downloadable_product_permissions', 'woocommerce_order_items', 'woocommerce_order_itemmeta', 'woocommerce_tax_rates', 'woocommerce_tax_rate_locations', 'woocommerce_shipping_zones', 'woocommerce_shipping_zone_locations', 'woocommerce_shipping_zone_methods', 'woocommerce_payment_tokens', 'woocommerce_payment_tokenmeta', 'woocommerce_log', ) );