apply_filters( 'wpt_upload_media', $upload, $post_ID ) → {bool}
Filter whether this post should upload media.
Parameters:
Name | Type | Description |
---|---|---|
$upload |
bool | True to allow this post to upload media. |
$post_ID |
int | Post ID. |
- Source:
Returns:
- Type
- bool