wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/blocks/search.php › WordPress File
Functions10
› Server-side rendering of the `core/search` block.
Function | Short description |
---|---|
apply_block_core_search_border_style | This generates a CSS rule for the given border property and side if provided. |
apply_block_core_search_border_styles | This adds CSS rules for a given border property e.g. width or color. It injects rules into the provided wrapper, button and input style arrays for uniform "flat" borders or those with individual sides configured. |
classnames_for_block_core_search | Builds the correct top level classnames for the 'core/search' block. |
get_border_color_classes_for_block_core_search | Returns border color classnames depending on whether there are named or custom border colors. |
get_color_classes_for_block_core_search | Returns color classnames depending on whether there are named or custom text and background colors. |
get_typography_classes_for_block_core_search | Returns typography classnames depending on whether there are named font sizes/families. |
get_typography_styles_for_block_core_search | Returns typography styles to be included in an HTML style tag. |
register_block_core_search | Registers the `core/search` block on the server. |
render_block_core_search | Dynamically renders the `core/search` block. |
styles_for_block_core_search | Builds an array of inline styles for the search block. |