WPDev.one
Core Function
View Source on Trac ↗

block_core_social_link_get_name()

block_core_social_link_get_name( mixed $service )

Returns the brand name for social link.

Parameters 1 required

Name / Type Description
$service
string

The service icon.

Required

Return Value

(string)
Brand label.

Function Information

Since Version
5.4.0
Source File
wp-includes/blocks/social-link.php
Advertisement