A_Z_Listing_Numbers::__construct( string $position = 'hide', bool $group = false )

Add filters to append or prepend numbers to the alphabet with optional grouping


Description


Parameters

$position

(string) (Optional) Can be either "before" or "after" indicating where to place the numbers respective to the alphabet.

Default value: 'hide'

$group

(bool) (Optional) Whether to group the numbers into a single heading or individually.

Default value: false


Source

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

	public function __construct( $position = 'after', $group = false ) {
		$this->position = $position;
		$this->group    = $group;

		add_filter( 'a-z-listing-alphabet', array( $this, 'add_to_alphabet' ) );
		add_filter( 'the-a-z-letter-title', array( $this, 'title' ) );
	}

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.