/** * Construct and initialize an Gravity Forms payment add-on * * @see https://github.com/wp-premium/gravityforms/blob/1.9.10.15/includes/addon/class-gf-payment-addon.php * * @since 1.3.0 */ public function __construct() { parent::__construct(); /* * Slug * * @var string URL-friendly identifier used for form settings, add-on settings, text domain localization... * @see https://github.com/wp-premium/gravityforms/blob/1.9.10.15/includes/addon/class-gf-addon.php#L24-L27 */ $this->_slug = 'pronamic_pay'; /* * Title * * @var string Title of the plugin to be used on the settings page, form settings and plugins page. Example: 'Gravity Forms MailChimp Add-On' * @see https://github.com/wp-premium/gravityforms/blob/1.9.10.15/includes/addon/class-gf-addon.php#L40-L43 */ $this->_title = __('WordPress Pay Add-On', 'pronamic_ideal'); /* * Short title * * @var string Short version of the plugin title to be used on menus and other places where a less verbose string is useful. Example: 'MailChimp' * @see https://github.com/wp-premium/gravityforms/blob/1.9.10.15/includes/addon/class-gf-addon.php#L44-L47 */ $this->_short_title = __('Pay', 'pronamic_ideal'); }
/** * Class constructor. Send __construct call to parent * @since 1.0 * @return void */ public function __construct() { // Build parent parent::__construct(); }