Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Achievement::__call( string $name, array $args )

Alert when deprecated methods are used.


Description Description

This class as well as core classes extending it have been deprecated. All public and protected methods have been changed to private and will be made accessible through this magic method which also emits a deprecation warning.

This public method has been intentionally marked as private to denote it’s temporary lifespan. It will be removed alongside this class in the next major release.


Top ↑

Parameters Parameters

$name

(string) (Required) Name of the method being called.

$args

(array) (Required) Arguments provided to the method.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.achievement.php

	public function __call( $name, $args ) {
		_deprecated_function( __CLASS__ . '::' . $name, '6.0.0' );
		if ( method_exists( $this, $name ) ) {
			$this->$name( ...$args );
		}
	}

Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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