Skip to content

Commit d7f4f95

Browse files
committed
feat(woo): #1
1 parent 0764f23 commit d7f4f95

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

wpdb-status.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ public function __construct() {
9494
echo '<span style="color:red;">' . $session->num_rows . '</span>';
9595
echo '</h2>';
9696

97+
echo '<h2>Woocommerce Log: ';
98+
$posts = $this->db_query( "SELECT COUNT(*) FROM " . DB_PREFIX . "woocommerce_log" );
99+
echo '<span style="color:red;">' . $posts->num_rows . '</span>';
100+
echo '</h2>';
101+
97102
echo '<hr><h1>WP Extra</h1>';
98103

99104
echo 'Remember to delete post in trash!';

0 commit comments

Comments
 (0)