Function __global->remove_code
Definitions
sources/override_api.php
- Remove some code from a function in the given code snippet.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$code | string | required parameter | N/A | N/A | The code |
$function | string | required parameter | N/A | N/A | Name of the function |
$command | string | required parameter | N/A | N/A | The command we're searching to insert by |
$instance_of_command | integer | 1 | N/A | N/A | We remove the nth instance of this command |
$fail_ok | boolean | False | N/A | N/A | Whether a failure should attach a message (false: a failure should cause a critical error) |
Return
- Success status
- Type: boolean
- Set: N/A
- Range: N/A