functions->'.$name.'()'; WPO_WCPDF_Legacy()->auto_enable_check( $human_readable_call ); if ( is_object( WPO_WCPDF_Legacy()->export->document ) && is_callable( array( WPO_WCPDF_Legacy()->export->document, $name ) ) ) { return call_user_func_array( array( WPO_WCPDF_Legacy()->export->document, $name ), $arguments ); } else { throw new \Exception("Call to undefined method ".__CLASS__."::{$name}()", 1); } } } endif; // class_exists return new Legacy_Functions();