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