post_type_archive_title, $post_type_object->labels->archives, $post_type

post_type_archive_title, $post_type_object->labels->archives, $post_type

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: gutenberg.23.6.2

apply_filters('post_type_archive_title, $post_type_object->labels->archives, $post_type') is found 1 times:

  • /build/scripts/block-library/breadcrumbs.php line 460
    		}
    		$post_type_object = get_post_type_object( $post_type );
    
    		/** This filter is documented in wp-includes/general-template.php */
    		$title = apply_filters( 'post_type_archive_title', $post_type_object->labels->archives, $post_type ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound
    
    		if ( $post_type_object ) {
    			// Add post type (current if not paginated, link if paginated).
    			$breadcrumb_items[] = gutenberg_block_core_breadcrumbs_create_item(
    				$title ? $title : $post_type_object->labels->archives,
    				$is_paged