apply_filters( 'wpt_default_upload_image', $checked, $upload ) → {string}
Set the default state of the upload image toggle input when setting Tweet status. Default depends on post meta data.
Parameters:
Name | Type | Description |
---|---|---|
$checked |
string | 'No' to not upload; 'yes' to upload. |
$upload |
string | The setting for this post. |
- Source:
Returns:
- Type
- string