wpseek.com
A WordPress-centric search engine for devs and theme authors



block_core_social_link_get_services › WordPress Filter Hooks

Since6.9.0
Deprecatedn/a
apply_filters( 'block_core_social_link_get_services', $services_data )
Parameters:
  • () services_data The list of services. Each item is an array containing a 'name' and 'icon' key.
    Required: Yes
Returns:
  • () The list of social services.
Defined at:
Codex:

Filter the list of available social service.

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.




Source

$services_data = apply_filters( 'block_core_social_link_get_services', $services_data );