Additional Code Examples


We have a growing library of code examples for WP Fusion over at GitHub. Some examples:

Access Control

Add the current user’s tags as classes to the HTML body element:

Delete a user in WordPress when a specific tag is applied:

Bypass WP Fusion’s content restriction on RSS feed content:

Unlock any locked content when visited from a Facebook link:

Bypass WP Fusion’s content protection when someone accesses your site from a specific IP address:

Syncing Data

Sets users imported by webhook to have usernames generated from their first and last names, instead of email address:

Extends the HTTP timeout to 60 seconds:

Custom Objects

Change CRM object type to Leads for Salesforce:

Create / update a custom object in Zoho or Salesforce when a post is updated:

Was this helpful?