Skip to content

Commit

Permalink
feat(integration): Add basic display support for Admin Columns Pro
Browse files Browse the repository at this point in the history
fix(class): Fix the parse method (...sigh)
fix(class): Properly return an empty string if the number is invalid on __toString
enhance(class): Allow passing a phone number through the PhoneNumber construct
fix(assets): Fix asset versioning
  • Loading branch information
Log1x committed Aug 18, 2020
1 parent 2091dbb commit aee9188
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 2,512 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ $ composer require log1x/acf-phone-number

## Usage

Pretty straight forward usage. No default settings on the field since it's smart.
Pretty straight forward usage. You can optionally set a default country.

The field will return a handy object containing everything you need about your number:

Expand All @@ -45,6 +45,12 @@ The field will return a handy object containing everything you need about your n
}
```

### ACF Composer

```php
$field->addField('my_number_field', 'phone_number', ['default_country' => 'us']);
```

## Bug Reports

If you discover a bug in ACF Phone Number, please [open an issue](https://github.com/log1x/acf-phone-number/issues).
Expand Down
Loading

0 comments on commit aee9188

Please sign in to comment.