wpbdp_abc_filter_letters

Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don’t provide support for code customizations or 3rd party development.

Change the letter and characters included in the ABC filtering.

Usage

add_filter( 'wpbdp_abc_filter_letters', 'wpbdp_abc_filter_add_letters' );

Parameters

  • $valid_letters (array)

Examples

Add Greek letters

function wpbdp_abc_filter_add_letters( $valid_letters ) {
    $valid_letters[] = 'æ';
    $valid_letters[] = 'ø';
    $valid_letters[] = 'å';
    return $valid_letters;
}
add_filter( 'wpbdp_abc_filter_letters', 'wpbdp_abc_filter_add_letters' );

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support