function addBestBooksTables() { global $wpdb; if (is_admin()) { ChartOfAccounts::createTable(); Journal::createTable(); Ledger::createTable(); } // endif of is_admin() }