Leaky Paywall 5.3.8 has 104 actions and 238 filters, read directly from its source code on Nov 19, 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 Leaky Paywall fires an action
add_action( 'leaky_paywall_content_viewed', function( $post_id, $restricted_post_type, $expiration_time, $viewed_content ) {
// Your code runs here.
}, 10, 4 );
// Change a value Leaky Paywall is about to use
add_filter( 'leaky_paywall_nag_type', function( $nag_type, $post_id ) {
// Change $nag_type here.
return $nag_type;
}, 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.
Changes by version
5.3.5 → 5.3.8 · Nov 19, 2026 · 3 added, 0 removed
Added
All hooks
-
/** * Fires when content is tracked as viewed. */ do_action( 'leaky_paywall_content_viewed', $this->post_id, $restricted_post_type, $expiration_time, $viewed_content ); -
/** * Fires when restricted content has been replaced with a paywall nag. */ do_action( 'leaky_paywall_is_restricted_content', $this->post_id, $this->nag_type ); -
/** * Filter the resolved nag type for impression tracking. */ apply_filters( 'leaky_paywall_nag_type', $this->nag_type, $this->post_id ); -
/** * Filters whether Leaky Paywall abilities are exposed over REST and MCP. */ apply_filters( 'leaky_paywall_abilities_exposed', $exposed ); -
/** * Filter the message shown when a logged-in user tries to subscribe to a level * they already have an active subscription on. Lets extensions render * alternative content — e.g. a "Resume Billing" CTA for pending_cancel * subscribers, where "already subscribed" is the wrong mental model. */ apply_filters( 'leaky_paywall_already_subscribed_at_level_content', $content, $level_id, wp_get_current_user() ); -
/** * Fires above the subscriber list, after the Add Subscriber button. */ do_action( 'leaky_paywall_before_subscribers_table' ); -
/** * Filters how many checkout failures one IP address can log an hour. */ apply_filters( 'leaky_paywall_checkout_error_report_limit', 20 ); -
/** * Filters a Top Content card's count cell. The Leaky Paywall Pro plugin links * it to the subscribers. */ apply_filters( 'leaky_paywall_dashboard_top_content_count', esc_html( number_format_i18n( absint( $item['count'] ) ) ), $item, $export_type, $period ); -
/** * Filters how many items the Top Content cards list. The Leaky Paywall Pro * plugin raises it. */ apply_filters( 'leaky_paywall_dashboard_top_content_limit', 3 ); -
/** * Filter the registered email classes. */ apply_filters( 'leaky_paywall_email_classes', $email_classes ); -
/** * Filter the full wrapped email HTML. */ apply_filters( 'leaky_paywall_email_template_html', $html, $body_html, $args ); -
/** * Filter whether the branded email template is enabled site-wide. */ apply_filters( 'leaky_paywall_email_template_is_enabled', $enabled ); -
/** * Filters an extension card's action button. The Leaky Paywall Pro plugin uses * it to add one-click install and update. */ apply_filters( 'leaky_paywall_extension_card_button', $this->render_button( $state, $slug, $can_install ), $state, $slug, $ext, $pro_active ); -
/** * Fires after the Extensions page renders. The Leaky Paywall Pro plugin prints * its install and update script here. */ do_action( 'leaky_paywall_extensions_page_after', $catalog ); -
/** * Filter the effective price of this registration. */ apply_filters( 'leaky_paywall_free_registration_effective_price', (float) $free_level['price'], $free_level, $subscription_data ); -
/** * Filter the sites searched for an incomplete-user record. */ apply_filters( 'leaky_paywall_incomplete_user_search_site_ids', $site_ids, $email ); -
/** * Fires on every level change. */ do_action( 'leaky_paywall_level_transition', $new_level_id, $old_level_id, $user_id, $source ); -
/** * Filter the payment receipt template tag values. */ apply_filters( 'leaky_paywall_payment_receipt_tags', $values, $transaction_id ); -
/** * Filters the PayPal accounts (emails or merchant IDs) whose IPNs are * accepted. Add an old address here if subscriptions were set up before the * account in the settings was changed. */ apply_filters( 'leaky_paywall_paypal_ipn_accounts', array_filter( array( $configured ) ), $mode ); -
/** * Filters whether a post is hard-restricted. */ apply_filters( 'leaky_paywall_post_is_hard_restricted', $hard, $post_id ); -
/** * Fires when Leaky Paywall keeps a page out of the cache, for caches that need * their own call. */ do_action( 'leaky_paywall_prevent_page_caching', $reason ); -
/** * Filters the nonces a cached page can refresh, keyed by name. */ apply_filters( 'leaky_paywall_refreshed_nonces', array( 'register' => wp_create_nonce( 'leaky-paywall-register-nonce' ), 'register_ajax' => wp_create_nonce( 'lp_register_nonce' ), 'tax_preview' => wp_create_nonce( 'lp_tax_preview' ), 'checkout_error' => wp_create_nonce( 'lp_checkout_error' ), ) ); -
/** * Filter the label of the registration form's Next button. */ apply_filters( 'leaky_paywall_registration_next_text', __('Continue to Payment', 'leaky-paywall'), $level ); -
/** * Merge all data before creating/updating the subscriber */ apply_filters( 'leaky_paywall_registration_user_meta', array_merge( $user_data, $gateway_data ), $user_data ); -
/** * Filter the REST API response when the paywall is shown. */ apply_filters( 'leaky_paywall_rest_paywall_response', $response_data, $this->post_id, $this ); -
/** * Filters whether restricted posts are cut down in feeds. Return false to send * them in full, e.g. for a feed only partners read. */ apply_filters( 'leaky_paywall_restrict_feeds', true, $post_id, $feed_type ); -
/** * Filters what a feed shows for a restricted post. */ apply_filters( 'leaky_paywall_restricted_feed_content', wpautop( esc_html( $excerpt ) ) . $link, $content, $post_id ); -
/** * Filters how a post is restricted. */ apply_filters( 'leaky_paywall_restriction_method', $method, $post_id, $mode ); -
/** * Filters the restriction mode. */ apply_filters( 'leaky_paywall_restriction_mode', $mode ); -
/** * Filters whether the payment method selector is shown. */ apply_filters( 'leaky_paywall_show_payment_method_selector', count( (array) $gateways ) > 1, $gateways, $level_id ); -
/** * Fires when a subscriber gains access. */ do_action( 'leaky_paywall_status_gained_access', $new_status, $user_id, $source ); -
/** * Fires when a subscriber loses access. */ do_action( 'leaky_paywall_status_lost_access', $new_status, $old_status, $user_id, $source ); -
/** * Fires on every status change. */ do_action( 'leaky_paywall_status_transition', $new_status, $old_status, $user_id, $source ); -
/** * Filters the Stripe Elements appearance used by the registration form. */ apply_filters( 'leaky_paywall_stripe_elements_appearance', array( 'theme' => 'stripe', 'variables' => array( 'borderRadius' => '6px', ), ) ); -
/** * Filters the fonts loaded into Stripe Elements. */ apply_filters( 'leaky_paywall_stripe_elements_fonts', array() ); -
/** * Filters whether buying a level switches the reader's existing subscription. */ apply_filters( 'leaky_paywall_stripe_switch_existing_subscription', true, $customer_id, $level_id ); -
/** * Filters the WP_User_Query arguments for the subscriber list. The Leaky * Paywall Pro plugin uses it to narrow the list to the subscribers a single * article converted. */ apply_filters( 'leaky_paywall_subscriber_table_args', $args, $mode, $site ); -
/** * Allow extensions to render additional filter dropdowns. */ do_action( 'leaky_paywall_subscriber_table_filters', $mode, $site ); -
/** * Filter the target status before it is written. */ apply_filters( 'leaky_paywall_target_subscriber_status', $new_status, $old_status, $user_id, $source ); -
/** * Fires at the end of the transaction sidebar meta box. */ do_action( 'leaky_paywall_transaction_sidebar_after', $post ); -
/** * Filter whether a user has an active subscription at a given level. */ apply_filters( 'leaky_paywall_user_has_active_subscription_at_level', $has_active, $user, $level_id ); -
apply_filters( 'manage_leaky_paywall_settings', 'manage_options' ); -
apply_filters( 'get_leaky_paywall_subscription_level_level_id', $level_id ); -
apply_filters( 'leaky_paywall_meter_allowed_value', $allowed_value, $level_id, $access_rule, $this->post_id ); -
apply_filters( 'get_leaky_paywall_users_level_id', $level_id, $user, $mode, $site ); -
apply_filters( 'leaky_paywall_email_attachments', array(), $user_info, $status ); -
apply_filters( 'leaky_paywall_insights_api_url', 'https://insights.leakypaywall.com' ); -
do_action( 'leaky_paywall_after_process_registration', $subscriber_data ); -
apply_filters( 'leaky_paywall_app_url', 'https://app.leakypaywall.com' ); -
do_action( 'leaky_paywall_cron_expired_subscriber', $user ); -
apply_filters( 'leaky_paywall_current_user_can_access', $can_access, $this->post_id ); -
do_action( 'add_leaky_paywall_subscriber', $user_id ); -
do_action( 'add_leaky_paywall_subscriber_form' ); -
apply_filters( 'do_leaky_paywall_profile_shortcode_expiration_column', $expires, $user, $mode, $site, '' ); -
apply_filters( 'leaky_paywall_available_content', $this->viewed_content_override ); -
apply_filters( 'leaky_paywall_current_user_can_view_all_content', 'manage_options' ); -
do_action( 'leaky_paywall_failed_payment', $user ); -
apply_filters( 'leaky_paywall_has_purchasable_level', $has_level ); -
apply_filters( 'do_leaky_paywall_profile_shortcode_created_column', $created, $user, $mode, $site, '' ); -
do_action( 'leaky_paywall_after_profile_changes_saved', $user_id, $args, $userdata ); -
do_action( 'leaky_paywall_after_profile_overview' ); -
do_action( 'leaky_paywall_alternative_subscriber_registration', $subscriber_data, $level ); -
do_action( 'leaky_paywall_before_create_stripe_subscription', $cu, $fields ); -
apply_filters( 'leaky_paywall_before_update_stripe_subscription_args', $defaults, $level, is_array( $fields ) ? $fields : array() ); -
do_action( 'leaky_paywall_cancelled_subscriber', $user, 'paypal' ); -
apply_filters( 'leaky_paywall_current_tab', $tab, $insights_tabs ); -
apply_filters( 'leaky_paywall_expiration_time', $expiration ); -
apply_filters( 'leaky_paywall_filter_is_restricted', $is_restricted, $this->get_restriction_settings(), $this->post_id ); -
apply_filters( 'leaky_paywall_incomplete_user_max_age_hours', 24 * 14 ); -
apply_filters( 'leaky_paywall_log_directory', $dir ); -
apply_filters( 'leaky_paywall_nag_excerpt', strip_shortcodes( $excerpt ), $this->post_id ); -
apply_filters( 'leaky_paywall_nag_message_text', $text, $this->post_id ); -
apply_filters( 'leaky_paywall_process_stripe_payment_customer_array', $customer_array, $fields ); -
do_action( 'leaky_paywall_profile_your_payment_info_start' ); -
do_action( 'leaky_paywall_profile_your_subscription_end' ); -
apply_filters( 'leaky_paywall_restriction_cookie_name', $this->cookie_name . $site ); -
apply_filters( 'leaky_paywall_script_tag_attributes', array(), $handle, $src ); -
apply_filters( 'leaky_paywall_status_filter_args', array( 'all' => __( 'All Statuses', 'leaky-paywall' ), 'active' => __( 'Active', 'leaky-paywall' ), 'pending_cancel' => __( 'Pending Cancel', 'leaky-paywall' ), 'trial' => __( 'Trial', 'leaky-paywall' ), 'past_due' => __( 'Past Due', 'leaky-paywall' ), 'canceled' => __( 'Canceled', 'leaky-paywall' ), 'expired' => __( 'Expired', 'leaky-paywall' ), 'deactivated' => __( 'Deactivated', 'leaky-paywa... ); -
apply_filters( 'leaky_paywall_stripe_subscription_args', $subscription_array, $level, $fields ); -
apply_filters( 'leaky_paywall_subscribe_or_login_message', $new_content, $message, $content, $this->post_id ); -
do_action( 'leaky_paywall_subscriber_email_changed', $user_id, $old_email, $value ); -
apply_filters( 'leaky_paywall_subscribers_columns', $columns ); -
apply_filters( 'leaky_paywall_subscribers_sortable_columns', $sortable ); -
apply_filters( 'leaky_paywall_unblockable_content', $unblockable_content ); -
do_action( 'leaky_paywall_update_settings', $settings, $current_tab, $current_section ); -
apply_filters( 'leaky_paywall_use_alternative_subscriber_registration', false, $subscriber_data, $level ); -
apply_filters( 'leaky_paywall_user_has_access', $has_access, $user ); -
apply_filters( 'leaky_paywall_user_registration_data', $user ); -
apply_filters( 'manage_leaky_paywall_subscribers_custom_column', '', $column_name, $user->ID ); -
do_action( 'update_leaky_paywall_subscriber', $user->ID ); -
do_action( 'update_leaky_paywall_subscriber_form', $user->ID ); -
apply_filters( "{$this->plugin_prefix}_get_license_settings", $settings ); -
apply_filters( "{$this->plugin_slug}_default_license_settings", $defaults ); -
apply_filters( 'build_leaky_paywall_subscription_levels_row_addon_filter', '', $level, $row_key ); -
do_action( 'bulk_add_leaky_paywall_subscriber', $user_id, $meta ); -
do_action( 'bulk_add_leaky_paywall_subscriber_failed', $meta, $email, $meta['login'] ); -
apply_filters( 'get_leaky_paywall_subscription_level', $level, $level_id ); -
apply_filters( 'leak_paywall_get_settings_site_wide_settings', $site_wide_settings ); -
apply_filters( 'leaky_paywall_access_statuses', array( 'active', 'pending_cancel', 'trial', 'past_due' ) ); -
apply_filters( 'leaky_paywall_account_setup_validation', $errors, $fields ); -
apply_filters( 'leaky_paywall_ach_notice_body', __( 'Your bank payment is processing and may take 3 to 5 business days to clear. You will receive a welcome email with your login details once it completes. <strong>Please do not submit the form again — your subscription is already on its way.</strong>', 'leaky-paywall' ) ); -
apply_filters( 'leaky_paywall_ach_notice_button', __( 'Got it', 'leaky-paywall' ) ); -
apply_filters( 'leaky_paywall_ach_notice_title', __( 'Your bank payment is processing', 'leaky-paywall' ) ); -
apply_filters( 'leaky_paywall_ach_notice_window_minutes', 60 ); -
do_action( 'leaky_paywall_after_card_stats' ); -
do_action( 'leaky_paywall_after_create_refund_transaction', $transaction_id, $original_txn_id, $user ); -
do_action( 'leaky_paywall_after_create_transaction', $transaction_id, $user ); -
do_action( 'leaky_paywall_after_currency_settings', $settings ); -
do_action( 'leaky_paywall_after_edit_profile' ); -
do_action( 'leaky_paywall_after_email_settings' ); -
do_action( 'leaky_paywall_after_enabled_gateways', $settings ); -
do_action( 'leaky_paywall_after_free_user_created', $user_id, $_POST ); -
do_action( 'leaky_paywall_after_general_settings' ); -
do_action( 'leaky_paywall_after_help_settings' ); -
do_action( 'leaky_paywall_after_licenses_settings' ); -
do_action( 'leaky_paywall_after_new_subscriber_form' ); -
do_action( 'leaky_paywall_after_password_registration_field', $level_id, $level ); -
do_action( 'leaky_paywall_after_payments_settings', $settings ); -
do_action( 'leaky_paywall_after_process_paypal_webhooks', $_REQUEST, $args, $user_id ); -
do_action( 'leaky_paywall_after_registration_form', $gateways ); -
do_action( 'leaky_paywall_after_registration_submit_field', $gateways, $level_id ); -
do_action( 'leaky_paywall_after_stripe_checkout_completed', $subscriber_data ); -
do_action( 'leaky_paywall_after_subscription_levels', $last_key ); -
do_action( 'leaky_paywall_after_subscription_levels_row', $level, $row_key ); -
do_action( 'leaky_paywall_after_subscriptions_settings' ); -
do_action( 'leaky_paywall_after_transaction_meta_box', $post ); -
do_action( 'leaky_paywall_after_update_stripe_subscription', $cu, $sub, $level ); -
do_action( 'leaky_paywall_after_user_deleted', $user ); -
do_action( 'leaky_paywall_after_wp_user_profile_fields', $user ); -
do_action( 'leaky_paywall_before_email_settings' ); -
do_action( 'leaky_paywall_before_email_status', $user_id, $status ); -
do_action( 'leaky_paywall_before_general_settings' ); -
do_action( 'leaky_paywall_before_help_settings' ); -
do_action( 'leaky_paywall_before_licenses_settings' ); -
apply_filters( 'leaky_paywall_before_login_form', '' ); -
do_action( 'leaky_paywall_before_payments_settings' ); -
do_action( 'leaky_paywall_before_process_paypal_webhooks', $args ); -
do_action( 'leaky_paywall_before_process_requests', get_leaky_paywall_settings() ); -
do_action( 'leaky_paywall_before_process_stripe_webhook', $stripe_event ); -
do_action( 'leaky_paywall_before_registration_form', $level ); -
do_action( 'leaky_paywall_before_registration_form_account_fields', $level ); -
do_action( 'leaky_paywall_before_registration_form_user_fields', $level ); -
do_action( 'leaky_paywall_before_registration_submit_field', $gateways, $level_id ); -
do_action( 'leaky_paywall_before_settings', $current_tab ); -
apply_filters( 'leaky_paywall_before_subscription_options', '' ); -
apply_filters( 'leaky_paywall_before_subscription_options_non_recurring_price', '' ); -
apply_filters( 'leaky_paywall_before_subscription_options_recurring_price', '' ); -
do_action( 'leaky_paywall_before_subscriptions_settings' ); -
do_action( 'leaky_paywall_before_update_subscriber', $user_id, $current_level_id, $meta ); -
apply_filters( 'leaky_paywall_bulk_add_headings', array( 'username', 'email', 'price', 'expires', 'status', 'level-id', 'subscriber-id' ) ); -
apply_filters( 'leaky_paywall_bulk_import_meta', array( 'level_id' => $level_id, 'subscriber_id' => $subscriber_id, 'price' => isset( $item['price'] ) ? number_format( (float) str_replace( '$', '', sanitize_text_field( $item['price'] ) ), 2 ) : $level['price'], 'description' => isset( $item['description'] ) ? sanitize_text_field( $item['description'] ) : $level['label'], 'created' => isset( $item['created'] ) ? sanitize_text_field( $item['cre... ); -
do_action( 'leaky_paywall_card_stats' ); -
apply_filters( 'leaky_paywall_content_access_description', $content_access_description, $level, $level_id ); -
apply_filters( 'leaky_paywall_create_stripe_plan', $args, $level, $level_id ); -
apply_filters( 'leaky_paywall_currency', $currency ); -
apply_filters( 'leaky_paywall_current_mode', $mode ); -
apply_filters( 'leaky_paywall_current_site', $site ); -
apply_filters( 'leaky_paywall_customer_ip', $ip ); -
do_action( 'leaky_paywall_dashboard_signup_chart_data', $insights, $period ); -
do_action( 'leaky_paywall_dashboard_stat_cards', $period ); -
apply_filters( 'leaky_paywall_default_settings', $defaults ); -
apply_filters( 'leaky_paywall_display_price', $display_price, $level ); -
apply_filters( 'leaky_paywall_duplicate_signup_message', __( 'It looks like a signup for this email was started a few minutes ago. Please check your inbox for confirmation, or contact us if you need help.', 'leaky-paywall' ) ); -
apply_filters( 'leaky_paywall_duplicate_signup_window_minutes', 60 ); -
apply_filters( "leaky_paywall_email_{$this->id}_replace_tags", $content, $user_id ); -
apply_filters( "leaky_paywall_email_{$this->id}_save_settings", $settings ); -
apply_filters( 'leaky_paywall_email_template_accent_color', $accent, $args ); -
apply_filters( 'leaky_paywall_enabled_gateways', $gateways->enabled_gateways, $level_id ); -
apply_filters( 'leaky_paywall_enabled_payment_gateways', $enabled, $this->available_gateways ); -
apply_filters( 'leaky_paywall_error_messages_html', $html, $errors ); -
do_action( 'leaky_paywall_errors_after' ); -
do_action( 'leaky_paywall_errors_before' ); -
apply_filters( 'leaky_paywall_export_retention_hours', 24 ); -
do_action( 'leaky_paywall_form_errors', $_POST, $level_id ); -
do_action( 'leaky_paywall_form_processing', $_POST, $user_id, $subscriber_data['price'], $mode, $site, $subscriber_data['level_id'] ); -
apply_filters( 'leaky_paywall_gateway_event_in_flight_seconds', 5 * MINUTE_IN_SECONDS, $event_id ); -
apply_filters( 'leaky_paywall_gateway_event_ttl', 3 * DAY_IN_SECONDS, $event_id ); -
apply_filters( 'leaky_paywall_gateway_filter_args', $gateway_slugs ); -
do_action( 'leaky_paywall_general_metaboxes' ); -
apply_filters( 'leaky_paywall_get_settings', $settings ); -
apply_filters( 'leaky_paywall_has_user_paid', $paid, $payment_gateway, $payment_status, $subscriber_id, $plan, $expires, $user, $mode, $site ); -
apply_filters( 'leaky_paywall_has_user_paid_expires', $expires, $payment_gateway, $payment_status, $subscriber_id, $plan, $expires, $user, $mode, $site ); -
apply_filters( 'leaky_paywall_hide_submit_tabs', array('licenses', 'help') ); -
apply_filters( 'leaky_paywall_incomplete_user_retention_days', 30 ); -
apply_filters( 'leaky_paywall_incomplete_user_site_search_limit', 100 ); -
apply_filters( 'leaky_paywall_insights_tabs', $tabs ); -
apply_filters( 'leaky_paywall_invalid_login_link' ); -
apply_filters( 'leaky_paywall_invoice_number', '#' . $transaction_id, $transaction_id ); -
apply_filters( 'leaky_paywall_ip_address', $ip ); -
apply_filters( 'leaky_paywall_is_debug_mode', $is_debug_mode ); -
apply_filters( 'leaky_paywall_is_free_registration', $is_free, $meta ); -
apply_filters( 'leaky_paywall_js_restriction_lead_in_elements', $count ); -
apply_filters( 'leaky_paywall_js_restriction_page_container', $settings['js_restrictions_page_container'] ); -
apply_filters( 'leaky_paywall_js_restriction_post_container', $settings['js_restrictions_post_container'] ); -
do_action( "leaky_paywall_level_{$old_level_id}_to_{$new_level_id}", $user_id, $source ); -
apply_filters( 'leaky_paywall_level_is_purchasable', $is_purchasable, $level ); -
apply_filters( 'leaky_paywall_locate_template', $template, $template_name, $template_path, $default_path ); -
apply_filters( 'leaky_paywall_log_retention_days', 30 ); -
apply_filters( 'leaky_paywall_log_scrubbed_keys', array('password', 'confirm_password', 'password_hash', 'user_pass', 'pass', 'pwd') ); -
apply_filters( 'leaky_paywall_log_size_limit', 5 * MB_IN_BYTES ); -
apply_filters( 'leaky_paywall_login_form_args', $args ); -
apply_filters( 'leaky_paywall_login_link_expiration', 60 * 60 ); -
apply_filters( 'leaky_paywall_new_email_message', $this->body, $user_id ); -
apply_filters( 'leaky_paywall_new_email_subject', $this->subject, $user_id ); -
do_action( 'leaky_paywall_new_subscriber', $user_id, $email, $meta, $customer_id, $meta_args, $user_data ); -
apply_filters( 'leaky_paywall_new_subscriber_abort', false, $email, $meta_args ); -
apply_filters( 'leaky_paywall_new_subscriber_admin_email', $admin_message, $user_info ); -
apply_filters( 'leaky_paywall_new_subscriber_meta', $meta_args, $email, $customer_id, $meta_args ); -
do_action( 'leaky_paywall_output_insights_data', $current_tab ); -
do_action( 'leaky_paywall_output_settings_fields', $current_tab, $current_section ); -
apply_filters( 'leaky_paywall_owned_script_handles', $lp_handles ); -
apply_filters( 'leaky_paywall_password_chosen_label', __( 'the password you chose when you signed up', 'leaky-paywall' ) ); -
apply_filters( 'leaky_paywall_payment_confirmed_status_sources', array( 'stripe_webhook' ) ); -
apply_filters( 'leaky_paywall_payment_gateways', $gateways ); -
apply_filters( 'leaky_paywall_payment_intent_args', array( 'amount' => $stripe_price, 'currency' => leaky_paywall_get_currency(), 'setup_future_usage' => 'off_session', 'customer' => $cu->id, 'description' => $level['label'], 'receipt_email' => $user['email'] ), $level ); -
apply_filters( 'leaky_paywall_payment_receipt_email_message', $this->body, $transaction_id ); -
apply_filters( 'leaky_paywall_paypal_args', $args ); -
apply_filters( 'leaky_paywall_paypal_verified_ipn_args', array( 'level_id' => $level_id, 'description' => $desc, 'payment_gateway' => 'paypal_standard', ) ); -
apply_filters( 'leaky_paywall_pdf_access', leaky_paywall_user_has_access() ); -
do_action( 'leaky_paywall_plugins_loaded' ); -
apply_filters( 'leaky_paywall_pro_plugin_download_url', 'https://leakypaywall.com/my-account/#tabs-2' ); -
apply_filters( 'leaky_paywall_profile_table', $profile_table, $user, $site, $mode, $settings ); -
do_action( 'leaky_paywall_profile_your_account_end' ); -
do_action( 'leaky_paywall_profile_your_payment_info_end' ); -
do_action( 'leaky_paywall_profile_your_profile_before_submit' ); -
do_action( 'leaky_paywall_profile_your_profile_end' ); -
do_action( 'leaky_paywall_profile_your_profile_start' ); -
do_action( 'leaky_paywall_profile_your_subscription_start' ); -
apply_filters( 'leaky_paywall_protected_directory_htaccess_rules', $rules ); -
apply_filters( 'leaky_paywall_redirect_url', add_query_arg( 'lp_txn_id', $subscriber_data['transaction_id'], $redirect_url ), $subscriber_data ); -
apply_filters( 'leaky_paywall_registration_level_name', $level['label'] ); -
apply_filters( 'leaky_paywall_renewal_reminder_email_message', $this->body, $user_id ); -
apply_filters( 'leaky_paywall_reporting_tool_meta', $meta ); -
apply_filters( 'leaky_paywall_reporting_tool_pre_users', $args, $mode, '_issuem' ); -
apply_filters( 'leaky_paywall_reporting_tool_user_meta', $user_meta, $user->ID ); -
do_action( 'leaky_paywall_rest_after_create_subscriber', $user_id, $request, $level ); -
apply_filters( 'leaky_paywall_rest_meta', $data, $user_obj ); -
apply_filters( 'leaky_paywall_rest_subscriber', $data, $user ); -
do_action( 'leaky_paywall_save_data_to_paypal_transaction', $transaction_id ); -
apply_filters( 'leaky_paywall_schema_css_selector', '.entry-content' ); -
apply_filters( 'leaky_paywall_schema_type', 'Article', get_the_ID() ); -
apply_filters( 'leaky_paywall_search_engine_bots', array( 'googlebot', 'bingbot', 'slurp', 'duckduckbot', 'baiduspider', 'yandexbot', ) ); -
apply_filters( "leaky_paywall_send_{$status}_admin_email", true, $user_id ); -
apply_filters( "leaky_paywall_send_{$status}_email", true, $user_id ); -
apply_filters( 'leaky_paywall_send_account_creation_failed_email', true, $email, $result ); -
apply_filters( 'leaky_paywall_set_expiration_date', $expires, $data, $user_id ); -
do_action( 'leaky_paywall_settings_form', $settings ); -
do_action( 'leaky_paywall_settings_page_stripe_payment_gateway_options' ); -
apply_filters( 'leaky_paywall_settings_tab_sections', array( 'general' => array( 'general', 'pages', 'insights', ), 'restrictions' => array(), 'subscriptions' => array( 'general' ), 'payments' => array( 'general' ), 'emails' => array('general'), 'licenses' => array(), 'help' => array() ) ); -
apply_filters( 'leaky_paywall_settings_tabs', $tabs ); -
apply_filters( 'leaky_paywall_show_free_subscriber_plan_table', $show, $user ); -
apply_filters( 'leaky_paywall_skip_stripe_sync', false, $user ); -
do_action( "leaky_paywall_status_{$old_status}_to_{$new_status}", $user_id, $source ); -
apply_filters( 'leaky_paywall_status_source_labels', $labels ); -
apply_filters( 'leaky_paywall_store_url', 'https://leakypaywall.com' ); -
do_action( "leaky_paywall_stripe_{$action}", $user, $stripe_object ); -
apply_filters( 'leaky_paywall_stripe_checkout_currency', leaky_paywall_get_currency(), $fields ); -
apply_filters( 'leaky_paywall_stripe_checkout_fields', $fields ); -
apply_filters( 'leaky_paywall_stripe_checkout_price', number_format( (float) $level['price'], 2, '', '' ), $fields ); -
apply_filters( 'leaky_paywall_stripe_checkout_success_url', $redirect_url ); -
apply_filters( 'leaky_paywall_stripe_connect_params', $params ); -
apply_filters( 'leaky_paywall_stripe_gateway_data', $gateway_data, $this, $customer_data ); -
apply_filters( 'leaky_paywall_stripe_invoice_collected_payment', $collected, $invoice ); -
apply_filters( 'leaky_paywall_stripe_payment_intent_args', array( 'amount' => leaky_paywall_get_stripe_amount($level['price']), 'currency' => strtolower(leaky_paywall_get_currency()), 'receipt_email' => $email, 'setup_future_usage' => 'off_session', ) ); -
do_action( 'leaky_paywall_stripe_refund', $user, $stripe_object ); -
apply_filters( 'leaky_paywall_stripe_session_nonrecurring_args', $stripe_session_args, $level ); -
apply_filters( 'leaky_paywall_stripe_session_recurring_args', $stripe_session_args, $level ); -
do_action( 'leaky_paywall_stripe_signup', $gateway_data ); -
apply_filters( 'leaky_paywall_stripe_webhook_finalize_delay', 5, $pi ); -
do_action( 'leaky_paywall_subscriber_account_creation_failed', $email, $result, $customer_id, $source ); -
apply_filters( 'leaky_paywall_subscriber_blog_role', 'subscriber', $user_id, $blog_id ); -
apply_filters( 'leaky_paywall_subscriber_current_level_ids', $level_ids ); -
apply_filters( 'leaky_paywall_subscriber_info_end', '' ); -
apply_filters( 'leaky_paywall_subscriber_info_paid_subscriber_end', '' ); -
do_action( 'leaky_paywall_subscriber_info_paid_subscriber_start' ); -
apply_filters( 'leaky_paywall_subscriber_info_paid_subscriber_start', '' ); -
apply_filters( 'leaky_paywall_subscriber_info_start', '' ); -
apply_filters( 'leaky_paywall_subscriber_payment_gateways', $gateways ); -
apply_filters( 'leaky_paywall_subscriber_restrictions', $restrictions ); -
apply_filters( 'leaky_paywall_subscriber_since_text', $text, $since, $user ); -
apply_filters( 'leaky_paywall_subscriber_table_query', $args['meta_query'], $mode, $site ); -
apply_filters( 'leaky_paywall_subscription_data', array( 'amount' => $level['price'], 'description' => $level['label'], 'user_id' => $user_data['id'], 'user_name' => $user_data['login'], 'user_email' => $user_data['email'], 'first_name' => $user_data['first_name'], 'last_name' => $user_data['last_name'], 'level_id' => $level_id, 'subscriber_id' => '', 'created' => gmdate( 'Y-m-d H:i:s' ), 'price' => $level['price'], 'plan' => ( 'stripe' === $g... ); -
apply_filters( 'leaky_paywall_subscription_levels', $settings['levels'] ); -
apply_filters( 'leaky_paywall_subscription_option_title', stripslashes($level['label']) ); -
apply_filters( 'leaky_paywall_subscription_options', '' ); -
leaky_paywall_subscription_options_after_last_subscription_option
filter Copy link Customise this hookapply_filters( 'leaky_paywall_subscription_options_after_last_subscription_option', '' ); -
apply_filters( 'leaky_paywall_subscription_options_after_subscription_options', '' ); -
apply_filters( 'leaky_paywall_subscription_options_allowed_content', $allowed_content, $level_id, $level ); -
apply_filters( 'leaky_paywall_subscription_options_header', '' ); -
apply_filters( 'leaky_paywall_subscription_options_level', $level, $level_id ); -
apply_filters( 'leaky_paywall_subscription_options_payment_options', $payment_options, $level, $level_id ); -
apply_filters( 'leaky_paywall_subscription_options_price_recurring_on', true, $current_level ); -
apply_filters( 'leaky_paywall_subscription_options_subscription_action', $subscription_action, $level_id, $current_level_ids, $payment_options ); -
apply_filters( 'leaky_paywall_subscription_options_subscription_price', $subscription_price, $level_id, $level ); -
apply_filters( 'leaky_paywall_supported_currencies', $currencies ); -
do_action( "leaky_paywall_tools_tab_{$current_tab}" ); -
apply_filters( 'leaky_paywall_tools_tabs', $tabs ); -
apply_filters( 'leaky_paywall_transaction_gateway_url', $gateway_url, $gateway, $gateway_txn_id ); -
apply_filters( 'leaky_paywall_transaction_payment_type_filters', $payment_type_options ); -
apply_filters( 'leaky_paywall_transaction_payment_type_labels', array( 'refund' => __( 'Refund', 'leaky-paywall' ), 'renewal' => __( 'Subscription Renewal', 'leaky-paywall' ), 'level_change' => __( 'Level Change', 'leaky-paywall' ), 'initial' => __( 'Initial Subscription Payment', 'leaky-paywall' ), 'one_time' => __( 'One Time', 'leaky-paywall' ), ) ); -
apply_filters( 'leaky_paywall_translate_payment_gateway_slug_to_name', $return, $slug ); -
apply_filters( 'leaky_paywall_unauthorized_pdf_download_output', $output ); -
apply_filters( 'leaky_paywall_update_settings_settings', $settings, $current_tab ); -
do_action( 'leaky_paywall_update_subscriber', $user_id, $email, $meta, $customer_id, $meta_args ); -
apply_filters( 'leaky_paywall_update_subscriber_meta', $meta, $email, $customer_id, $meta_args ); -
apply_filters( 'leaky_paywall_upgrade_prompt', $prompt, $user ); -
apply_filters( 'leaky_paywall_upgrade_prompt_button_text', leaky_paywall_get_upgrade_prompt_text( 'button_text' ) ); -
apply_filters( 'leaky_paywall_upgrade_prompt_description', leaky_paywall_get_upgrade_prompt_text( 'description' ) ); -
apply_filters( 'leaky_paywall_upgrade_prompt_heading', leaky_paywall_get_upgrade_prompt_text( 'heading' ) ); -
apply_filters( 'leaky_paywall_upgrade_prompt_url', get_page_link( $settings['page_for_subscription'] ) ); -
apply_filters( 'leaky_paywall_use_email_template', true, $this->id, $this->recipient_type ); -
apply_filters( 'leaky_paywall_userdata_before_user_create', $user_data ); -
apply_filters( 'leaky_paywall_valid_stripe_subscription_status', array( 'active' ) ); -
apply_filters( 'leaky_paywall_validate_username', $valid, $username ); -
apply_filters( 'leaky_paywall_your_subscription_total', $display_price, $level ); -
apply_filters( 'leaky_stripe_assets_load_on', array( $settings['page_for_register'], $settings['page_for_profile'] ) ); -
do_action( 'litespeed_control_set_nocache', 'Leaky Paywall: ' . $reason ); -
apply_filters( 'lp_list_builder_min_password_length', 4 ); -
do_action( 'lp_list_builder_signup_form_fields', $email ); -
apply_filters( 'lp_list_builder_signup_terms_text', $signup_tc_text ); -
apply_filters( 'lp_list_builder_signup_validation', '', $request ); -
apply_filters( 'lp_list_builder_upgrade_url', $subscribe_url ); -
apply_filters( 'registration_checkout_button_text', $text ); -
do_action( 'update_leaky_paywall_subscription_form', $user->ID ); -
apply_filters( 'zeen101_demo_enable_paypal_on_registration', 'off' ); -
apply_filters( 'zeen101_demo_paypal_live_api_password', sanitize_text_field(wp_unslash($_POST['paypal_live_api_password'])) ); -
apply_filters( 'zeen101_demo_paypal_live_api_secret', sanitize_text_field(wp_unslash($_POST['paypal_live_api_secret'])) ); -
apply_filters( 'zeen101_demo_paypal_live_api_username', sanitize_text_field(wp_unslash($_POST['paypal_live_api_username'])) ); -
apply_filters( 'zeen101_demo_paypal_live_email', sanitize_text_field(wp_unslash($_POST['paypal_live_email'])) ); -
apply_filters( 'zeen101_demo_paypal_sand_api_password', sanitize_text_field(wp_unslash($_POST['paypal_sand_api_password'])) ); -
apply_filters( 'zeen101_demo_paypal_sand_api_secret', sanitize_text_field(wp_unslash($_POST['paypal_sand_api_secret'])) ); -
apply_filters( 'zeen101_demo_paypal_sand_api_username', sanitize_text_field(wp_unslash($_POST['paypal_sand_api_username'])) ); -
apply_filters( 'zeen101_demo_paypal_sand_email', sanitize_text_field(wp_unslash($_POST['paypal_sand_email'])) ); -
apply_filters( 'zeen101_demo_stripe_live_publishable_key', sanitize_text_field(wp_unslash($_POST['live_publishable_key'])) ); -
apply_filters( 'zeen101_demo_stripe_live_secret_key', sanitize_text_field(wp_unslash($_POST['live_secret_key'])) ); -
apply_filters( 'zeen101_demo_stripe_test_publishable_key', sanitize_text_field(wp_unslash($_POST['test_publishable_key'])) ); -
apply_filters( 'zeen101_demo_stripe_test_secret_key', sanitize_text_field(wp_unslash($_POST['test_secret_key'])) ); -
apply_filters( 'zeen101_demo_test_mode', 'off' );
Generated from Leaky Paywall'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: