post_type_archive_title

post_type_archive_title

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('post_type_archive_title') is found 1 times:

  • /wp-includes/general-template.php line 1530
    	 *
    	 * @param string $post_type_name Post type 'name' label.
    	 * @param string $post_type      Post type.
    	 */
    	$title = apply_filters( 'post_type_archive_title', $post_type_obj->labels->name, $post_type );
    
    	if ( $display ) {
    		echo $prefix . $title;
    	} else {
    		return $prefix . $title;
    	}
    

See this hook used in plugins: