$s = "SELECT COUNT(*) FROM $wpdb->categories";
return $wpdb->get_var($s);
This works for many other things such as comments and pingback etc, don't know why I get database prefix 'wp_' added to 'categories' table. Also I don't see anything new from Codex here for this.
As of now that function of this plugin has been taken away, search goes on!
No comments:
Post a Comment