Filter: mc_phone_format

apply_filters( 'mc_phone_format', $number, $context ) → {string}

Format a phone number for display in template tags.

Parameters:
Name Type Description
$number string

Phone number as saved in $location->location_phone.

$context string

'phone'.

Source:
Returns:

Formatted number.

Type
string

apply_filters( 'mc_phone_format', $number, $context ) → {string}

Format a phone number for display in template tags.

Parameters:
Name Type Description
$number string

Phone number as saved in $location->location_phone.

$context string

'phone2'.

Source:
Returns:

Formatted number.

Type
string

apply_filters( 'mc_phone_format', $number, $context ) → {string}

Format a phone number for display in template tags.

Parameters:
Name Type Description
$number string

Phone number as saved in $event->event_phone2.

$context string

'phone2'.

Source:
Returns:

Formatted number.

Type
string

apply_filters( 'mc_phone_format', $number, $context ) → {string}

Format a phone number for display in template tags.

Parameters:
Name Type Description
$number string

Phone number as saved in $event->event_phone.

$context stirng

'phone'.

Source:
Returns:

Formatted number.

Type
string