includes/admin/tools/data/class-give-tools-delete-test-donors.php 1 location
|
@@ 431-442 (lines=12) @@
|
| 428 |
|
* |
| 429 |
|
* @return int|string |
| 430 |
|
*/ |
| 431 |
|
private function get_step() { |
| 432 |
|
$step_key = (string) $this->get_option( $this->step_key, false ); |
| 433 |
|
if ( 'count' === $step_key ) { |
| 434 |
|
return 1; |
| 435 |
|
} elseif ( 'donation' === $step_key ) { |
| 436 |
|
return 2; |
| 437 |
|
} elseif ( 'donor' === $step_key ) { |
| 438 |
|
return 3; |
| 439 |
|
} else { |
| 440 |
|
return $step_key; |
| 441 |
|
} |
| 442 |
|
} |
| 443 |
|
|
| 444 |
|
/** |
| 445 |
|
* Get the current $page value in the ajax. |
includes/admin/tools/data/class-give-tools-delete-import-donors.php 1 location
|
@@ 554-565 (lines=12) @@
|
| 551 |
|
* |
| 552 |
|
* @return int|string |
| 553 |
|
*/ |
| 554 |
|
private function get_step() { |
| 555 |
|
$step_key = (string) $this->get_option( $this->step_key, false ); |
| 556 |
|
if ( 'count' === $step_key ) { |
| 557 |
|
return 1; |
| 558 |
|
} elseif ( 'donation' === $step_key ) { |
| 559 |
|
return 2; |
| 560 |
|
} elseif ( 'donor' === $step_key ) { |
| 561 |
|
return 3; |
| 562 |
|
} else { |
| 563 |
|
return $step_key; |
| 564 |
|
} |
| 565 |
|
} |
| 566 |
|
|
| 567 |
|
/** |
| 568 |
|
* Get the current $page value in the ajax. |