[ 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. return: string The search block markup. param: array $attributes The block attributes. |
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. return: string The classnames used in the block. param: array $attributes The block attributes. |
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". return: array Style HTML attribute. param: array $attributes The block attributes. |
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. return: string The border color classnames to be applied to the block elements. param: array $attributes The block attributes. |
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. return: string The color classnames to be applied to the block elements. param: array $attributes The block attributes. |
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |