Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.54 KB

File metadata and controls

26 lines (19 loc) · 1.54 KB

Example code and templates

The example code and templates in this directory can help you get started with the Remote Data Blocks plugin. Note that many tasks can be performed in the UI without writing any code. However, other tasks require custom code, especially when you want to work with generic REST APIs or customize the block output or behavior.

Block examples

These blocks communicate with APIs that do not require authentication. Uncomment lines at the end of remote-data-blocks.php to enable them. They are roughly in order of complexity, starting with the simplest.

Templates

These code templates require credentials and other customization to work. They are a useful starting point for exploration and are especially useful as context for AI agents.