Back to Filters

Updated on Nov 06, 2023

slimstat_custom_wpdb

Applied to the database connection object (by default, $wpdb) used by Slimstat. It allows third party told to use a custom database or custom table names.

self::$wpdb = apply_filters('slimstat_custom_wpdb', $GLOBALS['wpdb']);