wpseek.com
A WordPress-centric search engine for devs and theme authors



build_template_part_block_variations › WordPress Function

Since5.9.0
Deprecatedn/a
build_template_part_block_variations ( No parameters )
Returns:
  • (array) Array containing the block variation objects.
Defined at:
Codex:

Returns an array of all template part block variations.



Source

function build_template_part_block_variations() {
	$instance_variations = build_template_part_block_instance_variations();
	$area_variations     = build_template_part_block_area_variations( $instance_variations );
	return array_merge( $area_variations, $instance_variations );
}