This can be used to change icons or add custom icons (additionally to variations in the editor).Icons should be directly renderable - therefore SVGs work best.
Parameters
$services_dataarray
The list of services. Each item is an array containing a 'name' and 'icon' key.
343*344* @since 6.9.0345*346* @param array$services_data The list of services. Each item is an array containing a 'name'and'icon' key.347* @returnarray The list of social services.348*/349$services_data=apply_filters('block_core_social_link_get_services',$services_data);350351if(!empty($service)352&&!empty($field)353&&isset($services_data[$service])354&&('icon'===$field||'name'===$field)355){
History
Introduced in 6.9.0. Unchanged from 6.9.7 through 7.1.0.