block_core_social_link_get_services
block_core_social_link_get_services
Appears in: gutenberg.21.1.0, gutenberg.21.3.0, gutenberg.21.6.0, gutenberg.21.8.0, gutenberg.22.0.0
Hook Type: filter
Displaying hooks found in version: gutenberg.22.0.0apply_filters('block_core_social_link_get_services') is found 1 times:
- /build/scripts/block-library/social-link.php line 349
* * @param array $services_data The list of services. Each item is an array containing a 'name' and 'icon' key. * @return array The list of social services. */ $services_data = apply_filters( 'block_core_social_link_get_services', $services_data ); if ( ! empty( $service ) && ! empty( $field ) && isset( $services_data[ $service ] ) && ( 'icon' === $field || 'name' === $field ) ) {