_wp_build_title_and_description_for_taxonomy_block_template


_wp_build_title_and_description_for_taxonomy_block_template ( $taxonomy, $slug, $template )

Access:
  • private
Parameters:
  • (string) taxonomy Identifier of the taxonomy, e.g. category.
  • (string) slug Slug of the term, e.g. shoes.
  • (WP_Block_Template) template Template to mutate adding the description and title computed.
Returns:
  • (bool) True if the term referenced was found and false otherwise.
Defined at:

Description

Builds the title and description of a taxonomy-specific template based on the underlying entity referenced.Mutates the underlying template object.

Related Functions

_wp_build_title_and_description_for_single_post_type_block_template, _wp_filter_taxonomy_base, wp_print_file_editor_templates, wp_should_load_separate_core_block_assets, _resolve_home_block_template

Top Google Results

User discussions

wpseek mobile