LLMS_SendWP::add_settings( array $settings )
Add Settings.
Parameters Parameters
- $settings
-
(array) (Required) Existing settings.
Return Return
(array)
Source Source
File: includes/admin/class-llms-sendwp.php
*
* @since 3.40.0
*
* @return string
*/
protected function get_description() {
return sprintf(
// Translators: %s = Anchor tag html linking to SendWP.com.
__( '%s makes WordPress email delivery as simple as a few clicks so you can relax, knowing your important emails are being delivered on time.', 'lifterlms' ),
'<a href="https://lifterlikes.com/sendwp" target="_blank" rel="noopener noreferrer">' . $this->get_title() . '</a>'
);
}
/**
* Retrieve the connector's name / title.
*
* @since 3.40.0
*
* @return string
*/
protected function get_title() {
return __( 'SendWP', 'lifterlms' );
}
/**
* Determine if SendWP is installed and connected for sending.
*
* @since 3.40.0
*
* @return boolean
*/
protected function is_connected() {
return ( function_exists( 'sendwp_client_connected' ) && sendwp_client_connected() );
}
/**
* Determines if connector plugin is installed
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.36.1 | Introduced. |