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.
Parameters Parameters
- $name
-
(string) (Required) Name of the method being called.
- $args
-
(array) (Required) Arguments provided to the method.
Return Return
(void)
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 ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |