Automattic\WooCommerce\Admin
DeprecatedClassFacade::__call
Executes when calling any function on an instance of this class.
Method of the class: DeprecatedClassFacade{}
No Hooks.
Returns
null. Nothing (null).
Usage
$DeprecatedClassFacade = new DeprecatedClassFacade(); $DeprecatedClassFacade->__call( $name, $arguments );
- $name(string) (required)
- The name of the function being called.
- $arguments(array) (required)
- An array of the arguments to the function call.
DeprecatedClassFacade::__call() DeprecatedClassFacade:: call code WC 10.7.0
public function __call( $name, $arguments ) {
self::log_deprecation( $name );
if ( ! isset( $this->instance ) ) {
return;
}
return call_user_func_array(
array(
$this->instance,
$name,
),
$arguments
);
}