Conditions | 3 |
Paths | 2 |
Total Lines | 18 |
Code Lines | 10 |
Lines | 18 |
Ratio | 100 % |
Changes | 4 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
31 | */ |
||
32 | public function get_table_name() { |
||
33 | global $wpdb; |
||
34 | return $wpdb->commentmeta; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * Retrieve the meta table field name to query by. |
||
39 | * |
||
40 | * @return string |
||
41 | */ |
||
42 | public function get_table_field_name() { |
||
43 | return 'comment_id'; |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * Set the comment ID of the datastore. |
||
48 | * |
||
49 | * @param int $id ID of the comment. |
||
64 |