Automattic\WooCommerce\Admin
DeprecatedClassFacade::__callStatic
Executes when calling any static function on this class.
Method of the class: DeprecatedClassFacade{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = DeprecatedClassFacade::__callStatic( $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::__callStatic() DeprecatedClassFacade:: callStatic code WC 10.7.0
public static function __callStatic( $name, $arguments ) {
self::log_deprecation( $name );
if ( '' === static::$facade_over_classname ) {
return;
}
return call_user_func_array(
array(
static::$facade_over_classname,
$name,
),
$arguments
);
}