[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Server-side rendering of the `core/search` block.
File Size: | 368 lines (13 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
render_block_core_search( $attributes ) X-Ref |
Dynamically renders the `core/search` block. param: array $attributes The block attributes. return: string The search block markup. |
register_block_core_search() X-Ref |
Registers the `core/search` block on the server. |
classnames_for_block_core_search( $attributes ) X-Ref |
Builds the correct top level classnames for the 'core/search' block. param: array $attributes The block attributes. return: string The classnames used in the block. |
styles_for_block_core_search( $attributes ) X-Ref |
Builds an array of inline styles for the search block. The result will contain one entry for shared styles such as those for the inner input or button and a second for the inner wrapper should the block be positioning the button "inside". param: array $attributes The block attributes. return: array Style HTML attribute. |
get_border_color_classes_for_block_core_search( $attributes ) X-Ref |
Returns border color classnames depending on whether there are named or custom border colors. param: array $attributes The block attributes. return: string The border color classnames to be applied to the block elements. |
get_color_classes_for_block_core_search( $attributes ) X-Ref |
Returns color classnames depending on whether there are named or custom text and background colors. param: array $attributes The block attributes. return: string The color classnames to be applied to the block elements. |
Generated: Sun Dec 22 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |