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.8

do_action('get_block_type_variations') is found 1 times:

  • /wp-includes/class-wp-block-type.php line 616
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
         *
         * @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: