wpseek.com
WordPress开发者和主题制作者的搜索引擎



block_core_social_link_get_services › WordPress过滤钩子

Since6.9.0
已弃用n/a
› apply_filters( 'block_core_social_link_get_services', $services_data )
参数:
  • () services_data The list of services. Each item is an array containing a 'name' and 'icon' key.
    Required: Yes
定义在:
文档:

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.




源码

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