| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* @since 2.27.1 Removed React rendering element. |
| 5 |
* |
| 6 |
* @since 2.17.1 |
| 7 |
*/ |
| 8 |
class Give_Settings_Recurring_Donations_Core extends Give_Settings_Page |
| 9 |
{ |
| 10 |
protected $enable_save = false; |
| 11 |
|
| 12 |
/** |
| 13 |
* Give_Settings_Recurring_Donations constructor. |
| 14 |
*/ |
| 15 |
public function __construct() |
| 16 |
{ |
| 17 |
$this->id = 'recurring'; |
| 18 |
$this->label = sprintf( |
| 19 |
__('%s Recurring Donations %s', 'give'), |
| 20 |
'<img style="display: inline-block; vertical-align: middle; margin: 0 5px 2px 0; " src="' . GIVE_PLUGIN_URL . 'build/assets/dist/images/admin/black-external-icon.svg" alt="icon"/>', |
| 21 |
'<span class="givewp-upsells-recurring-recommended"> |
| 22 |
<strong>' . __('RECOMMENDED', 'give') . '</strong> |
| 23 |
</span>' |
| 24 |
); |
| 25 |
|
| 26 |
|
| 27 |
parent::__construct(); |
| 28 |
} |
| 29 |
|
| 30 |
|
| 31 |
} |
| 32 |
|
| 33 |
return new Give_Settings_Recurring_Donations_Core(); |
| 34 |
|