[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Server-side rendering of the `core/categories` block.
File Size: | 100 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
render_block_core_categories( $attributes ) X-Ref |
Renders the `core/categories` block on server. return: string Returns the categories list/dropdown markup. param: array $attributes The block attributes. |
build_dropdown_script_block_core_categories( $dropdown_id ) X-Ref |
Generates the inline script for a categories dropdown field. return: string Returns the dropdown onChange redirection script. param: string $dropdown_id ID of the dropdown field. |
onCatChange() X-Ref |
No description |
register_block_core_categories() X-Ref |
Registers the `core/categories` block on server. |
Generated: Mon Oct 7 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |