Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions packages/block-library/src/social-link/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,16 @@ function block_core_social_link_services( $service = '', $field = '' ) {
*
* @since 6.9.0
*
* @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.
* @param array $services_data {
* The list of services keyed by service slug.
*
* @type array ...$0 {
* Service definition.
*
* @type string $name Service name.
* @type string $icon Service icon as a directly renderable string.
* }
* }
*/
$services_data = apply_filters( 'block_core_social_link_get_services', $services_data );

Expand Down
Loading