Plural_Forms::__construct( string $str )

Constructor.

Parameters

$str

(string) (Required) Plural function (just the bit after plural= from Plural-Forms)

Source

File: wp-includes/pomo/plural-forms.php

public function __construct( $str ) {
			$this->parse( $str );
		}

Changelog

Version Description
4.9.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/plural_forms/__construct