apply_filters( 'dt_allow_post_unlink', true, $post_id ) → {bool}
Filters whether the post can be unlinked.
Parameters:
Name | Type | Description |
---|---|---|
true |
bool | Whether the post is allowed to be unlinked. Default true. |
$post_id |
int | The ID of the post attempting to be unlinked. |
- Since:
- 1.0
- Source:
Returns:
Whether the post is allowed to be unlinked.
- Type
- bool