add_a_z_numbers( string $position = 'after', bool $group = false )

Returns a function for use in the a_z_listing_alphabet filter


Description


Parameters

$position

(string) (Optional) set to before to place the numbers first. Any other value will place them last.

Default value: 'after'

$group

(bool) (Optional) group the numbers in a single collection rather than individually.

Default value: false


Return

(A_Z_ListingA_Z_Listing_Numbers)


Source

File: src/Numbers.php

function add_a_z_numbers( $position = 'after', $group = false ) {
	return new A_Z_Listing_Numbers( $position, $group );
}

Changelog

Changelog
VersionDescription
1.8.0Add $group parameter and functionality to group numbers into a single collection.
1.7.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.