Confirmed licence hooks for developers

Add-ons should wait for rafflewp_init before registering paid integrations, or call rafflewp_is_licensed(). The rafflewp_unlicensed action fires when RaffleWP is installed but core features are not loaded.

add_action( 'rafflewp_init', 'my_rafflewp_integration' );

function my_rafflewp_integration( $plugin ) {
	// Register integration hooks only after licensed core is ready.
}
  • rafflewp_license_is_active and rafflewp_license_status expose filtered status for integrations.
  • rafflewp_license_api_url, rafflewp_license_item_id and rafflewp_license_item_name customise the compatible licence service.
  • rafflewp_license_request_body filters the outbound API body.
  • rafflewp_license_purchase_url and rafflewp_license_account_url customise admin links.

For local development only, defining RAFFLEWP_LICENSE_BYPASS as true can unlock the plugin without an activation. Never enable or distribute that bypass on a production or publicly reachable site.


Still need help? Visit Support and include your system information.