get_the_archive_title_prefix

get_the_archive_title_prefix

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('get_the_archive_title_prefix') is found 1 times:

  • /wp-includes/general-template.php line 1783
    1779
    1780
    1781
    1782
    1783
    1784
    1785
    1786
    1787
    1788
    1789
    * @since 5.5.0
     *
     * @param string $prefix Archive title prefix.
     */
    $prefix = apply_filters( 'get_the_archive_title_prefix', $prefix );
    if ( $prefix ) {
        $title = sprintf(
            /* translators: 1: Title prefix. 2: Title. */
            _x( '%1$s %2$s', 'archive title' ),
            $prefix,
            '<span>' . $title . '</span>'

See this hook used in plugins: