get_block_type_variations

get_block_type_variations

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('get_block_type_variations') is found 1 times:

  • /wp-includes/class-wp-block-type.php line 616
    		 *
    		 * @param array         $variations Array of registered variations for a block type.
    		 * @param WP_Block_Type $block_type The full block type object.
    		 */
    		return apply_filters( 'get_block_type_variations', $this->variations, $this );
    	}
    
    	/**
    	 * Get block uses context.
    	 *
    	 * @since 6.5.0
    

See this hook used in plugins: