pfeifferNet

archives.php

Archive pages appearance.

Tags
since
1.0.0
copyright

2024 Keith Pfeiffer

Table of Contents

Functions

modify_archive_order()  : void
Change sort order of archive pages where required.
modify_archive_title()  : string
Remove prefix for taxonomy name from archive titles.

Functions

modify_archive_title()

Remove prefix for taxonomy name from archive titles.

modify_archive_title(string $title, string $original_title, string $prefix) : string
Parameters
$title : string

Archive title.

$original_title : string

Archive title without prefix.

$prefix : string

Archive title prefix.

Tags
since
1.0.0
since
5.10.0

Expanded function signature to use updated parameters.

Return values
string

The (maybe) modified archive title.


        
On this page

Search results