Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #54003


Ignore:
Timestamp:
08/25/2021 09:59:16 PM (4 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54003

    • Property Status changed from new to closed
    • Property Component changed from General to Customize
    • Property Resolution changed from to invalid
    • Property Milestone changed from Awaiting Review to
  • Ticket #54003 – Description

    initial v2  
    11I have been trying to add error to my wordpress customizer api like this error message I am trying to add custom message when the user enter invalid phone number her is my custom code
    22
    3 
     3{{{
    44$wp_customize->add_setting('basic-banner-callout-phonenumber', array(
    55        'default' => '',
     
    1616            'maxlength' => 10
    1717        )`
    18 
     18}}}
    1919how could i possible display if empty $input 'You must supply a valid phone number. for example ?
    2020