WPDev.one
Core Function
View Source on Trac ↗

block_core_navigation_link_filter_variations()

block_core_navigation_link_filter_variations( mixed $variations, mixed $block_type )

Filters the registered variations for a block type.

Parameters 2 required

Name / Type Description
$variations
array

Array of registered variations for a block type.

Required
$block_type
WP_Block_Type

The full block type object.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
6.5.0
Source File
wp-includes/blocks/navigation-link.php
Advertisement