| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Server-side rendering of the `core/categories` block.
| File Size: | 137 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| render_block_core_categories( $attributes, $content, $block ) X-Ref |
| Renders the `core/categories` block on server. param: array $attributes The block attributes. param: string $content Block default content. param: WP_Block $block Block instance. return: string Returns the categories list/dropdown markup. |
| build_dropdown_script_block_core_categories( $dropdown_id ) X-Ref |
| Generates the inline script for a categories dropdown field. param: string $dropdown_id ID of the dropdown field. return: string Returns the dropdown onChange redirection script. |
| register_block_core_categories() X-Ref |
| Registers the `core/categories` block on server. |
| Generated : Thu Oct 30 08:20:06 2025 | Cross-referenced by PHPXref |