wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



block_core_social_link_get_services › WordPress Filter Hooks

Seit6.9.0
Veraltetn/v
apply_filters( 'block_core_social_link_get_services', $services_data )
Parameter:
  • () services_data The list of services. Each item is an array containing a 'name' and 'icon' key.
    Erforderlich: Ja
Gibt zurück:
  • () The list of social services.
Definiert in:
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.




Quellcode

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