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

Sets the A-Z Listing to include numbers.


Description


Parameters

$position

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

Default value: 'after'

$group

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

Default value: false


Return

(A_Z_ListingNumbers) the numbers extension instance object


Source

File: src/Numbers.php

function add_a_z_numbers( string $position = 'after', bool $group = false ): Numbers {
	return new Numbers( $position, $group );
}

Changelog

Changelog
VersionDescription
1.8.0Add $group parameter and functionality to group numbers into a single collection.
1.7.0Introduced.