Memberful 1.82.4 has 6 actions and 64 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Memberful fires an action
add_action( 'memberful_ad_provider_register_providers', function( $object ) {
// Your code runs here.
}, 10, 1 );
// Change a value Memberful is about to use
add_filter( 'memberful_teaser_content', function( $content, $post ) {
// Change $content here.
return $content;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Filter all providers (active and inactive). */ apply_filters( 'memberful_ad_provider_all_providers', $this->providers ); -
/** * Filter the detected providers. */ apply_filters( 'memberful_ad_provider_detected_providers', $detected_providers ); -
/** * Action to register ad providers. */ do_action( 'memberful_ad_provider_register_providers', $this ); -
/** * Filter the sanitised ad provider settings. */ apply_filters( 'memberful_ad_provider_sanitised_settings', $sanitised[ $provider_id ], $provider_id, $provider_settings, $allowed_plan_ids ); -
/** * Filter if ad controls should be applied for a provider. */ apply_filters( 'memberful_ad_provider_should_apply_controls_for_provider', true, $provider, $user_id ); -
/** * Filter if ads should be disabled for a user. */ apply_filters( 'memberful_ad_provider_should_disable_ads_for_user', null, $user_id, $this->get_identifier() ); -
/** * Filter to get all the saved per-plan role mappings. */ apply_filters( 'memberful_all_plan_role_mappings', $mappings ); -
/** * Filter to determine the allowed roles that can be mapped to. */ apply_filters( 'memberful_allowed_roles_for_mapping', $allowed_roles ); -
/** * Filters the ARIA attributes used for the expiry banner live region. */ apply_filters( 'memberful_expiry_banner_aria_attributes', $aria_attributes, $expiry_data ); -
/** * Filters the number of days before expiry that triggers the banner. */ apply_filters( 'memberful_expiry_banner_days_threshold', $days_threshold ); -
/** * Filters how long, in seconds, an expiry banner dismissal persists. */ apply_filters( 'memberful_expiry_banner_dismissal_lifetime', 0 ); -
/** * Filters the expiry banner enabled status. */ apply_filters( 'memberful_expiry_banner_enabled', $enabled ); -
/** * Filters how many days after expiry the banner stops showing an expired * subscription. */ apply_filters( 'memberful_expiry_banner_expired_cutoff_days', 14 ); -
/** * Filters the full expiry banner HTML output. */ apply_filters( 'memberful_expiry_banner_html', $html, $expiry_data ); -
/** * Filters the rendered expiry banner message. */ apply_filters( 'memberful_expiry_banner_message', $message, $expiry_data ); -
/** * Filters variables passed to the Memberful post metabox view. */ apply_filters( 'memberful_metabox_view_vars', $view_vars, $post ); -
/** * Filter the free-view limit shown in the paywall counter. */ apply_filters( 'memberful_paywall_free_view_limit', null, $config ); -
/** * Filter whether the bundled paywall stylesheet should be enqueued. */ apply_filters( 'memberful_paywall_print_styles', self::$should_print_styles ); -
/** * Filter the protected paywall content before it is returned. */ apply_filters( 'memberful_paywall_protected_content', $content ); -
/** * Filter to determine the current subscriptions for a user. */ apply_filters( 'memberful_role_decision_user_current_subscriptions', $current_subscriptions ); -
/** * Fires after Memberful post access settings are saved. */ do_action( 'memberful_save_postdata', $post_id ); -
/** * Filter to determine if user roles should be automatically updated/synced to * existing users on save. */ apply_filters( 'memberful_should_bulk_update_user_roles_on_save', true ); -
/** * Filter to determine if protected content should be included in search. */ apply_filters( 'memberful_show_protected_content_in_search', $show_protected_content_in_search, $query ); -
/** * Filter to determine if per-plan roles are enabled. */ apply_filters( 'memberful_use_per_plan_roles', $use_per_plan_roles ); -
/** * Filter to determine the active customer role. */ apply_filters( 'memberful_user_role_for_active_customer', $active_role ); -
/** * Filter to determine the inactive customer role. */ apply_filters( 'memberful_user_role_for_inactive_customer', $this->get_fallback_role_for_inactive_user( $inactive_role ) ); -
/** * Filter to determine the new role for a user. */ apply_filters( 'memberful_user_role_for_update_user_role', $new_role, $user, $current_subscriptions ); -
/** * Filter to determine the role for a user with plan mappings. */ apply_filters( 'memberful_user_role_for_user_with_plan_mappings', $role, $current_subscriptions ); -
/** * Filters the blocks that are excluded from the block visibility controls. */ apply_filters( 'memberful_wp_block_visibility_excluded_blocks', $excluded_blocks ); -
/** * Filter the preview a protected post shows in listings. */ apply_filters( 'memberful_wp_listing_excerpt', $teaser, $content ); -
/** * Filters the block content before it is rendered. */ apply_filters( 'memberful_wp_render_block', $block_content, $block, $original_block_content ); -
/** * Filter whether the paywall renders for the post being filtered. */ apply_filters_deprecated( 'memberful_wp_rendering_full_post', array( $should_render_paywall ), '1.82.1', 'memberful_wp_should_render_paywall' ); -
/** * Filter whether the paywall renders for the post being filtered. */ apply_filters( 'memberful_wp_should_render_paywall', $should_render_paywall ); -
/** * Filter the post types whose content is never protected. */ apply_filters( 'memberful_wp_unprotected_post_types', array() ); -
/** * Filter to determine the user role for a user. */ apply_filters( 'memberful_wp_user_role_for_user', $user_role, $user ); -
/** * Filter the RSS update frequency. */ apply_filters( 'rss_update_frequency', $frequency ); -
/** * Filter how often to update the RSS feed. */ apply_filters( 'rss_update_period', $duration ); -
/** * Fires at the end of the RSS2 Feed Header. */ do_action( 'rss2_head' ); -
/** * Fires at the end of each RSS2 feed item. */ do_action( 'rss2_item' ); -
apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); -
apply_filters( 'memberful_wp_protect_content', $memberful_marketing_content ); -
apply_filters( 'bloginfo_rss', get_bloginfo_rss( $attribute ), $attribute ); -
apply_filters( 'fl_builder_do_render_content', true, $post_id ); -
apply_filters( 'memberful_account_check_message', __( 'We found an existing account with the same email address. To confirm you own the account, please sign in with your pre-existing password.' ) ); -
apply_filters( 'memberful_can_user_access_rss_post', $allowAccess, $user_id, $post_id ); -
apply_filters( 'memberful_marketing_content', $marketing_content ); -
apply_filters( 'memberful_marketing_content_explanation', '' ); -
apply_filters( 'memberful_metabox_post_types', $types ); -
apply_filters( 'memberful_private_rss_category_ids', array() ); -
apply_filters( 'memberful_private_rss_description', $description ); -
apply_filters( 'memberful_private_rss_feed_error_message', $error_message ); -
apply_filters( 'memberful_private_rss_post_types', $post_types ); -
apply_filters( 'memberful_private_rss_title', $title ); -
apply_filters( 'memberful_wp_after_sign_in_url', $url ); -
apply_filters( 'memberful_wp_after_sign_out_url', $url ); -
apply_filters( 'memberful_wp_profile_widget_add_stylesheet', true ); -
apply_filters( 'Memberful_Wp_Reporting__build_key', $key, $user_login ); -
apply_filters( 'Memberful_Wp_Reporting_get', $this->value ); -
apply_filters( 'Memberful_Wp_Reporting_sanitize_report_data', $value, $message, $type, $code ); -
apply_filters( 'memberful_wp_widget_args', $args ); -
apply_filters( 'memberful.map_user.create', $user_data, $this->member ); -
apply_filters( 'memberful.map_user.update', $user_data, $this->wp_user, $this->member ); -
do_action( 'rss_tag_pre', 'rss2' ); -
do_action( 'rss2_ns' ); -
apply_filters( 'the_content', $post->post_content ); -
apply_filters( 'widget_title', $title );
Generated from Memberful's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: