bricks_find_element
Search for page elements by type, text content, or CSS class. Returns matching elements with IDs, settings summary, and parent chain.
Instructions
Search elements within a page by type, text content, or CSS class. Returns matching elements with their IDs, settings summary, and parent chain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site key for multi-site support. Available: main. Defaults to "main". | |
| post_id | Yes | The page/post ID | |
| post_type | No | Post type slug. Use "pages" for pages, "posts" for posts, or any registered CPT slug (e.g., "product", "portfolio"). Defaults to "pages". | |
| element_type | No | Filter by element type name (e.g., "heading", "button") | |
| text_search | No | Search for text content within element settings | |
| css_class | No | Filter by CSS class name |