# better-payment/2.3.1/includes/Traits/Elements.php

Better Payment – Instant Payments, Donations, Fundraising with Subscriptions &amp; More, version 2.3.1. 20 lines.

- Page: https://pluginprobe.com/plugins/better-payment/2.3.1/code/includes/Traits/Elements.php
- Raw: https://pluginprobe.com/plugins/better-payment/2.3.1/raw/includes/Traits/Elements.php
- Modified: 2022-04-18T10:23:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/better-payment/2.3.1/code/includes/Traits/Elements.php#L10-L20`.

```php
<?php

namespace Better_Payment\Lite\Traits;

if (!defined('ABSPATH')) {
    exit();
} // Exit if accessed directly

trait Elements {
    /**
     * Register custom controls
     *
     * @since v4.4.2
     */
    public function register_controls($controls_manager)
    {
        $controls_manager->register_control('better-payment-select2', new \Better_Payment\Lite\Admin\Elementor\Controls\Select2());
    }
}

```
