A_Z_Listing_Grouping::__construct( int $grouping )

Add filters to group the alphabet letters


Description


Parameters

$grouping

(int) (Required) The number of letters in each group.


Source

File: classes/class-a-z-listing-grouping.php

	public function __construct( $grouping ) {
		$this->grouping = $grouping;

		if ( 1 < $grouping ) {
			add_filter( 'a-z-listing-alphabet', array( $this, 'alphabet_filter' ), 2 );
			add_filter( 'the-a-z-letter-title', array( $this, 'heading' ), 5 );
		}
	}

Changelog

Changelog
VersionDescription
2.0.0Introduced.

More Information

You are currently logged out. To view tickets you must first login.

I have read and understood the Terms of Service


User Contributed Notes

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.