WPDev.one
Core Function
View Source on Trac ↗

get_block_core_avatar_border_attributes()

get_block_core_avatar_border_attributes( mixed $attributes )

Generates class names and styles to apply the border support styles for

Parameters 1 required

Name / Type Description
$attributes
array

The block attributes.

Required

Return Value

(array)
The border-related classnames and styles for the block.

Function Information

Since Version
6.3.0
Source File
wp-includes/blocks/avatar.php
Advertisement