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.7.1

apply_filters('post_type_archive_title') is found 1 times:

  • /wp-includes/general-template.php line 1539
    	 *
    	 * @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: