apply_filters( 'mcapi_default_state', $checked, $endpoint ) → {string}
Filter the checked state of an API endpoint in the admin.
Parameters:
Name | Type | Description |
---|---|---|
$checked |
string | Default checked state for an endpoint. E.g 'checked="checked"'. |
$endpoint |
string | The endpoint being displayed. URL from API settings. |
Returns:
- Type
- string