FREE block. A registration form that allows a guest fundraiser to claim ownership of an action they created without an account. Block ID: get-fund/claim-action.

Why use this
When someone creates a fundraising action as a guest (without registering), Fundations sends them a claim link by email. This block is placed on the Claim page and processes that claim when the guest clicks the link.
What it does
The block reads three URL parameters: ?get_claim_action={id}, ?token={token}, and ?email={email}. It validates the stored _get_fund_claim_token and checks that the token has not expired (tokens are valid for 30 days via _get_fund_claim_token_expires).
If valid, the block shows a registration form with the guest’s email address pre-filled and read-only. On submission:
- A new
fund_memberaccount is created. - The action’s
post_authorand_get_fund_creator_idare updated to the new user. - Team ownership is transferred if applicable.
- All guest meta and the claim token are deleted.
- The
get_fund_action_claimedaction is fired.
If the token is invalid or expired, the block shows an error message.
The Claim page is created automatically during plugin setup. See Page Installer.
How to use it
- This block is pre-configured on the auto-created Claim page.
- No manual setup is required beyond ensuring the Claim page is set in Settings > Fundations > Pages.
Settings and options
| Option | Type | Default | Description |
|---|---|---|---|
| Title | string | Claim Your Fundations | Form heading |
| Description | string | — | Intro text shown above the form |
| Button text | string | Create Account & Claim Action | Submit button label |
| Primary color | string | #4a9d44 | Accent color |
| Button color | string | #00b894 | Submit button background |
| Button hover color | string | #00a080 | Submit button hover background |
What you can and cannot do
- The claim token expires after 30 days. After that, the block shows an error and the action cannot be claimed via this flow.
- The email field is read-only; the user cannot change it.
- A guest can only claim an action once. After claiming, the token is deleted.
Developer reference
Action: claim completed
do_action( 'get_fund_action_claimed', int $post_id, int $user_id );
| Parameter | Description |
|---|---|
$post_id | ID of the claimed action |
$user_id | ID of the newly created user |
Example: send a welcome email after claiming
add_action( 'get_fund_action_claimed', function( $post_id, $user_id ) {
$user = get_userdata( $user_id );
wp_mail(
$user->user_email,
'Welcome to the team!',
'Your fundraising action is now linked to your account.'
);
}, 10, 2 );