Warning: This method has been deprecated. LLMS_Abstract_Generator_Posts::increment() is deprecated with no replacement instead.

LLMS_Abstract_Generator_Posts::increment( string $deprecated )

Increments a stat in the stats object


Parameters Parameters

$deprecated

(string) (Required) Deprecated.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/abstracts/llms-abstract-generator-posts.php

		// Ensure the object post type array exists.
		if ( ! isset( $this->tempids[ $obj->get( 'type' ) ] ) ) {
			$this->tempids[ $obj->get( 'type' ) ] = array();

Top ↑

Changelog Changelog

Changelog
Version Description
4.7.0 LLMS_Abstract_Generator_Posts::increment() is deprecated with no replacement.
3.30.2 Made publicly accessible; change to automatically add new items to the stats if they aren't set.
3.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.