# texty/trunk/includes/Admin/Profile.php

Texty – SMS Notification for WordPress, WooCommerce, Dokan and more, version trunk. 30 lines.

- Page: https://pluginprobe.com/plugins/texty/trunk/code/includes/Admin/Profile.php
- Raw: https://pluginprobe.com/plugins/texty/trunk/raw/includes/Admin/Profile.php
- Modified: 2026-06-16T12:07:42+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/texty/trunk/code/includes/Admin/Profile.php#L10-L20`.

```php
<?php

namespace Texty\Admin;

/**
 * Profile Class
 */
class Profile {

    /**
     * Initialize
     */
    public function __construct() {
        add_filter( 'user_contactmethods', [ $this, 'add_contact_methods' ], 8 );
    }

    /**
     * Add phone number as contact method
     *
     * @param array $methods
     *
     * @return array
     */
    public function add_contact_methods( $methods ) {
        $methods['texty_phone'] = __( 'Phone Number (Texty)', 'texty' );

        return $methods;
    }
}

```
