Un motore di ricerca WordPress per sviluppatori e autori di temi

wp-includes/blocks/search.php › WordPress File

Server-side rendering of the `core/search` block.

Function Short description
apply_block_core_search_border_styleThis generates a CSS rule for the given border property and side if provided.
apply_block_core_search_border_stylesThis 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_searchBuilds the correct top level classnames for the 'core/search' block.
get_border_color_classes_for_block_core_searchReturns border color classnames depending on whether there are named or custom border colors.
get_color_classes_for_block_core_searchReturns color classnames depending on whether there are named or custom text and background colors.
get_typography_classes_for_block_core_searchReturns typography classnames depending on whether there are named font sizes/families.
get_typography_styles_for_block_core_searchReturns typography styles to be included in an HTML style tag.
register_block_core_searchRegisters the `core/search` block on the server.
render_block_core_searchDynamically renders the `core/search` block.
styles_for_block_core_searchBuilds an array of inline styles for the search block.