block_core_social_link_get_services

block_core_social_link_get_services

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: gutenberg.21.1.0

apply_filters('block_core_social_link_get_services') is found 1 times:

  • /build/block-library/blocks/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 )
    	) {