All Projects → Log1x → acf-phone-number

Log1x / acf-phone-number

Licence: MIT License
A real ACF phone number field powered by libphonenumber and intl-tel-input

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to acf-phone-number

acf-field-boilerplate
Modernized PSR-2 boilerplate for creating custom fields for ACF5.
Stars: ✭ 54 (-20.59%)
Mutual labels:  wordpress-plugin, acf, acf-field
acf-move-wp-editor
This is a simple ACF Field that moves the WordPress content editor of a post or page to the location of this field.
Stars: ✭ 32 (-52.94%)
Mutual labels:  acf, acf-field
Acf Options For Polylang
A WordPress plugin for adding ACF options page support for Polylang.
Stars: ✭ 131 (+92.65%)
Mutual labels:  wordpress-plugin, acf
flexible-templates
Allows saving templates of the "Flexible Content" field, for easy and fast use of them on other pages.
Stars: ✭ 36 (-47.06%)
Mutual labels:  wordpress-plugin, acf
Acf Star Rating Field
A simple star rating field for ACF.
Stars: ✭ 94 (+38.24%)
Mutual labels:  wordpress-plugin, acf
Fewbricks
Write code to create ACF field groups, fields and re-usable modules.
Stars: ✭ 100 (+47.06%)
Mutual labels:  wordpress-plugin, acf
acf-conditional-logic-advanced
Advanced Custom Fields - Conditional Logic Advanced
Stars: ✭ 31 (-54.41%)
Mutual labels:  acf, acf-field
acf-image-aspect-ratio-crop
Image Aspect Ratio Crop field for Advanced Custom Fields
Stars: ✭ 100 (+47.06%)
Mutual labels:  acf, acf-field
bea-beautiful-flexible
Transform ACF's flexible layouts list into a nice and UX popup.
Stars: ✭ 19 (-72.06%)
Mutual labels:  wordpress-plugin, acf
acf-vimeo-pro-data
Vimeo PRO Data field for Advanced Custom Fields v5
Stars: ✭ 14 (-79.41%)
Mutual labels:  wordpress-plugin, acf-field
Acf To Rest Api
Exposes Advanced Custom Fields Endpoints in the WordPress REST API
Stars: ✭ 1,152 (+1594.12%)
Mutual labels:  wordpress-plugin, acf
acf-country
ACF Country field - Display a select field of all countries, in any language.
Stars: ✭ 103 (+51.47%)
Mutual labels:  wordpress-plugin, acf
Acf Quickedit Fields
WordPress Plugin implementing Column Displaying, QuickEdit and BulkEdit for Advanced Custom Fields (ACF)
Stars: ✭ 328 (+382.35%)
Mutual labels:  wordpress-plugin, acf
Acf Codifier
A wrapper class to help write more readable ACF field declarations.
Stars: ✭ 114 (+67.65%)
Mutual labels:  wordpress-plugin, acf
acf-typography
A Typography Add-on for the Advanced Custom Fields Plugin
Stars: ✭ 14 (-79.41%)
Mutual labels:  wordpress-plugin, acf
acf-swatch
ACF Color Swatch Field
Stars: ✭ 67 (-1.47%)
Mutual labels:  wordpress-plugin, acf
acf-flexible-content-preview
Transforms ACF's flexible content field's layout list into a modal with image previews.
Stars: ✭ 21 (-69.12%)
Mutual labels:  wordpress-plugin, acf
wpse-playlist
WordPress - Playlist shortcode with external audio or video files. Wrapper for the native playlist in WordPress.
Stars: ✭ 17 (-75%)
Mutual labels:  wordpress-plugin
credit-tracker
Credit Tracker WordPress plugin
Stars: ✭ 15 (-77.94%)
Mutual labels:  wordpress-plugin
ultimate-addons-for-gutenberg
Power-up the Gutenberg editor with advanced and powerful blocks that help you build websites in minutes!
Stars: ✭ 166 (+144.12%)
Mutual labels:  wordpress-plugin

ACF Phone Number

Latest Stable Version Total Downloads Build Status

A real ACF phone number field powered by libphonenumber and intl-tel-input

Screenshot

Requirements

Installation

Bedrock

Install via Composer:

$ composer require log1x/acf-phone-number

Manual

Download the release .zip and install into wp-content/plugins.

Usage

Pretty straight forward usage. You can optionally set a default country.

Calling the field will return an arrayable object containing everything you need about your number:

{
  +"number": "+1 405-867-5309"
  +"country": "us"
  +"uri": "tel:+14058675309"
  +"e164": "+14058675309"
  +"rfc3966": "tel:+1-405-867-5309"
  +"national": "(405) 867-5309"
  +"international": "+1 405-867-5309"
  +"carrier": ""
  +"location": "Oklahoma"
  +"timezone": array:1 [▼
    0 => "America/Chicago"
  ]
}

ACF Composer

If you are on Sage 10 and using my ACF Composer package:

$field
  ->addField('my_number_field', 'phone_number')
    ->setConfig('default_country', 'us');

Bug Reports

If you discover a bug in ACF Phone Number, please open an issue.

Contributing

Contributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.

License

ACF Phone Number is provided under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].