| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Plugin.UnregisterFunction
Unregister a function.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Plugin | 15.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Plugin.UnregisterFunction" { ; functionId; Name } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| functionId | The function ID. Must be unique and 3 or higher. MBS function is ID 1 and MBS script step is ID 2. |
123 | Optional |
| Name | The name of the custom function. | "Concat" | Optional |
Result
Returns OK or error.
Description
Unregister a function.If passed no parameters, we remove all functions.
If you pass one parameter, we check for the function ID to match.
And if you pass two parameters, we check for both name and function ID to match.
Examples
Unregister all custom functions:
MBS( "Plugin.UnregisterFunction")
Unregister function 8:
MBS( "Plugin.UnregisterFunction"; 8)
See also
Release notes
- Version 15.4
- Added Plugin.UnregisterFunction and Plugin.UnregisterScriptStep functions.
Blog Entries
This function checks for a license.
Created 21st July 2025, last changed 2nd October 2025