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.