WPDev.one
Core Function
View Source on Trac ↗

get_block_core_post_featured_image_border_attributes()

get_block_core_post_featured_image_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.1.0
Source File
wp-includes/blocks/post-featured-image.php
Advertisement