Title: WordPress compose/data API
Last modified: December 4, 2023

---

# WordPress compose/data API

 *  Resolved [gardenboi](https://wordpress.org/support/users/gardenboi/)
 * (@gardenboi)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/wordpress-compose-data-api/)
 * Hi I’m trying to dynamically append some blocks to my custom InnerBlock
   basically
   I’m trying to recreate a Select-Tab plugin that generates the Tabs and for each
   tab contains a template ‘core/group’. the structure is this **block/select-tabs
   > [ block/tab > core/group > (any core component)] **All I need to do is to generate**
   N amount of default block/tabs from my props.attributes **such as block/select-
   tabs has already the N amount of tabs when used in the Gutenberg editor. I’ve
   been looking everywhere I could but it is not clear to me how should I write 
   this, I found something about the useSelect/useDispatch but I’m unable to find
   the methods within my IDE which is why I am here asking for a direction.
 * when I duplicate the ‘block/tab’ it works in the editor so the initial setup 
   is fine, I am asking how do I self document myself to expose all the methods 
   usable by the select/dispatch useSelect/useDispatch withSelect/withDispatch

The topic ‘WordPress compose/data API’ is closed to new replies.

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [blocks](https://wordpress.org/support/topic-tag/blocks/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 0 replies
 * 1 participant
 * Last reply from: [gardenboi](https://wordpress.org/support/users/gardenboi/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/wordpress-compose-data-api/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
