log1x/acf-phone-number 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

log1x/acf-phone-number

最新稳定版本:v1.3.1

Composer 安装命令:

composer require log1x/acf-phone-number

包简介

A real ACF phone number field.

README 文档

README

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:

^ array:10 [ "carrier" => ""  "country" => "United States"  "e164" => "+14058675309" "international" => "+1 405-867-5309" "location" => "Oklahoma"  "national" => "(405) 867-5309" "rfc3966" => "tel:+1-405-867-5309" "timezone" => array:1 [ 0 => "America/Chicago" ] "uri" => "tel:+14058675309" ]

ACF Composer

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

$field ->addField('my_number_field', 'phone_number') ->setConfig('placeholder', '+1 555-555-5555') ->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.

统计信息

  • 总下载量: 69.08k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 119
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 119
  • Watchers: 10
  • Forks: 16
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固