wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



block_core_social_link_get_services › Hooks de Filtros WordPress

Desde6.9.0
Obsoleton/a
› apply_filters( 'block_core_social_link_get_services', $services_data )
Parâmetros:
  • () services_data The list of services. Each item is an array containing a 'name' and 'icon' key.
    Required: Yes
Definido em:
Codex:

Filters 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.




Fonte

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