Filter: gk/gravityboard/voting/can-spend-vote
Filters whether a user can spend a vote.
Return true to allow or a WP_Error to deny with a message.
Parameters
| Name | Type | Description |
|---|---|---|
| $allowed | true | Whether the vote is allowed. |
| $feed_id | int | The feed ID. |
| $user_id | int | The user ID. |
| $entry_id | int | The entry (card) ID. |
| $budget | array | Budget info from get_budget(). |
Since
Source
Defined in src/Voting/VoteBudget.php at line 146