@@ -182,6 +182,12 @@ discard block |
||
| 182 | 182 | |
| 183 | 183 | } |
| 184 | 184 | |
| 185 | + /** |
|
| 186 | + * @param string $action_name |
|
| 187 | + * @param string $id_field |
|
| 188 | + * @param string|null $where_sql |
|
| 189 | + * @param string $status_name |
|
| 190 | + */ |
|
| 185 | 191 | private function enqueue_all_ids_as_action( $action_name, $table_name, $id_field, $where_sql, $status_name ) { |
| 186 | 192 | global $wpdb; |
| 187 | 193 | |
@@ -306,6 +312,9 @@ discard block |
||
| 306 | 312 | return $args; |
| 307 | 313 | } |
| 308 | 314 | |
| 315 | + /** |
|
| 316 | + * @param string $meta_type |
|
| 317 | + */ |
|
| 309 | 318 | private function get_metadata( $ids, $meta_type ) { |
| 310 | 319 | global $wpdb; |
| 311 | 320 | $table = _get_meta_table( $meta_type ); |
@@ -358,6 +367,10 @@ discard block |
||
| 358 | 367 | error_log( print_r( $this->get_send_status(),1 )); |
| 359 | 368 | } |
| 360 | 369 | |
| 370 | + /** |
|
| 371 | + * @param string $name |
|
| 372 | + * @param integer $total |
|
| 373 | + */ |
|
| 361 | 374 | private function set_send_status( $name, $count = 0, $total = null ) { |
| 362 | 375 | $transient_name = self::$status_transient_name . '_send_' . $name; |
| 363 | 376 | if ( $count !== 0 ) { |