{"id":62212,"date":"2024-02-13T09:12:52","date_gmt":"2024-02-13T14:12:52","guid":{"rendered":"https:\/\/memberpress.com\/docs\/filter-hooks-in-memberpress\/"},"modified":"2025-05-26T04:02:55","modified_gmt":"2025-05-26T08:02:55","slug":"filter-hooks-in-memberpress","status":"publish","type":"ht_kb","link":"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/","title":{"rendered":"Ganchos de filtro no MemberPress"},"content":{"rendered":"\n<p>Here you can find the list of the most common filter hooks divided into sections that you can find and use in MemberPress.<\/p>\n\n\n\n<p>If you want to learn more about hooks please check out <a href=\"https:\/\/memberpress.com\/docs\/actions-and-filters-in-memberpress\/\" target=\"_blank\" rel=\"noopener\">Actions and Filters in MemberPress<\/a> article.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Rules<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#mepr-pre-run-rule-content\">mepr-pre-run-rule-content<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-pre-run-rule-redirection\">mepr-pre-run-rule-redirection<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-last-chance-to-block-content\">mepr-last-chance-to-block-content<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-rule-redirect-unauthorized-url\">mepr-rule-redirect-unauthorized-url<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Signup<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#mepr-validate-signup\">mepr-validate-signup<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-signup-styles\">mepr-signup-styles<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-signup-scripts\">mepr-signup-scripts<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-signup-checkout-url\">mepr-signup-checkout-url<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_render_custom_fields\">mepr_render_custom_fields<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_product_access_string\">mepr_product_access_string<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-stripe-elements-appearance\">mepr-stripe-elements-appearance<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-stripe-form-hide-postal-code\">mepr-stripe-form-hide-postal-code<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-is-product-page\">mepr-is-product-page<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-product-url\">mepr-product-url<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_format_currency\">mepr_format_currency<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Admin<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#mepr-admin-members-cols\">mepr-admin-members-cols<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-admin-subscriptions-cols\">mepr-admin-subscriptions-cols<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-admin-transactions-sortable-cols\">mepr-admin-transactions-sortable-cols<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_user_subscriptions_query_cols\">mepr_user_subscriptions_query_cols<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-admin-transactions-cols\">mepr-admin-transactions-cols<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_nonrecurring_subscriptions_table_joins\">mepr_nonrecurring_subscriptions_table_joins<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_nonrecurring_subscriptions_table_cols\">mepr_nonrecurring_subscriptions_table_cols<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_recurring_subscriptions_table_joins\">mepr_recurring_subscriptions_table_joins<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_recurring_subscriptions_table_cols\">mepr_recurring_subscriptions_table_cols<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_import_subscription_pre_store\">mepr_import_subscription_pre_store<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_import_subscription_post_store\">mepr_import_subscription_post_store<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_user_subscriptions_customize_subscription\">mepr_user_subscriptions_customize_subscription<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Account Page<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#mepr-account-welcome-message\">mepr-account-welcome-message<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-user-message\">mepr-user-message<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-account-nav-home-link\">mepr-account-nav-home-link<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-account-nav-subscriptions-link\">mepr-account-nav-subscriptions-link<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-account-nav-payments-link\">mepr-account-nav-payments-link<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-account-nav-home-label\">mepr-account-nav-home-label<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-account-nav-subscriptions-label\">mepr-account-nav-subscriptions-label<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-account-nav-payments-label\">mepr-account-nav-payments-label<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-account-payment-product-name\">mepr-account-payment-product-name<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-account-subscr-product-name\">mepr-account-subscr-product-name<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-validate-account\">mepr-validate-account<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-active-nav-tab\">mepr-active-nav-tab<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_custom_upgrade_link_txn\">mepr_custom_upgrade_link_txn<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-product-renewal-string\">mepr-product-renewal-string<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_payments_per_page\">mepr_payments_per_page<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_is_account_page\">mepr_is_account_page<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-account-action\">mepr-account-action<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Login<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#mepr-login-redirect-url\">mepr-login-redirect-url<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-process-login-redirect-url\">mepr-process-login-redirect-url<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-login-uname-or-email-str\">mepr-login-uname-or-email-str<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-login-uname-str\">mepr-login-uname-str<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-unauthorized-login-link-text\">mepr-unauthorized-login-link-text<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-auto-login\">mepr-auto-login<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Emails<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#mepr-wp-mail-recipients\">mepr-wp-mail-recipients<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-wp-mail-subject\">mepr-wp-mail-subject<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-wp-mail-message\">mepr-wp-mail-message<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-wp-mail-headers\">mepr-wp-mail-headers<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_reminder_email_params\">mepr_reminder_email_params<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_reminder_email_vars\">mepr_reminder_email_vars<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_subscription_email_params\">mepr_subscription_email_params<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_subscription_email_vars\">mepr_subscription_email_vars<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Invoice<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#mepr-pdf-invoice-data\">mepr-pdf-invoice-data<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_pdf_invoice_filename\">mepr_pdf_invoice_filename<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Miscellaneous<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#mepr-hide-cpt-access-column\">mepr-hide-cpt-access-column<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_fetch_options\">mepr_fetch_options<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_checkout_show_terms\">mepr_checkout_show_terms<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_custom_cancel_link\">mepr_custom_cancel_link<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-currency-symbols\">mepr-currency-symbols<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-currency-codes\">mepr-currency-codes<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-language-codes\">mepr-language-codes<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_countries\">mepr_countries<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-jobs-config\">mepr-jobs-config<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-admin-capability\">mepr-admin-capability<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_price_box_benefit\">mepr_price_box_benefit<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-group-css-classes-string\">mepr-group-css-classes-string<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-group-page-item-output\">mepr-group-page-item-output<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_custom_thankyou_message\">mepr_custom_thankyou_message<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_user_pw_reset_title\">mepr_user_pw_reset_title<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_admin_pw_reset_title\">mepr_admin_pw_reset_title<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-userroles-add-roles\">mepr-userroles-add-roles<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-userroles-remove-roles\">mepr-userroles-remove-roles<\/a><\/li>\n\n\n\n<li><a href=\"#mepr_reminder_lookup\">mepr_reminder_lookup<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Courses<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#mpcs_courses_per_page\">mpcs_courses_per_page<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_classroom_style_handles\">mpcs_classroom_style_handles<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-account-nav-courses-link\">mepr-account-nav-courses-link<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-account-nav-courses-label\">mepr-account-nav-courses-label<\/a><\/li>\n\n\n\n<li><a href=\"#mepr-account-nav-courses-active-name\">mepr-account-nav-courses-active-name<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_redirect_lesson_to_sales\">mpcs_redirect_lesson_to_sales<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_redirect_quiz_to_sales\">mpcs_redirect_quiz_to_sales<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_certificate_paper_size\">mpcs_certificate_paper_size<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_classroom_header\">mpcs_classroom_header<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_classroom_sidebar\">mpcs_classroom_sidebar<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_classroom_instructor\">mpcs_classroom_instructor<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_admin_questions_per_page\">mpcs_admin_questions_per_page<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs-admin-capability\">mpcs-admin-capability<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_attempt_score\">mpcs_attempt_score<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_attempt_score_percent\">mpcs_attempt_score_percent<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_get_score_for_answer\">mpcs_get_score_for_answer<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_is_answer_correct\">mpcs_is_answer_correct<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_display_feedback_incorrect_prefix\">mpcs_display_feedback_incorrect_prefix<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_question_feedback_html\">mpcs_question_feedback_html<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_certificate_pdf_file_height\">mpcs_certificate_pdf_file_height<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_question_label\">mpcs_question_label<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_question_required_indicator\">mpcs_question_required_indicator<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_question_options\">mpcs_question_options<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_certificate_pdf_course_title\" target=\"_self\" rel=\"noopener\">mpcs_certificate_pdf_course_title<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_certificate_pdf_completion_date\" target=\"_self\" rel=\"noopener\">mpcs_certificate_pdf_completion_date<\/a><\/li>\n\n\n\n<li><a href=\"#mpcs_certificate_pdf_expiration_date\" target=\"_self\" rel=\"noopener\">mpcs_certificate_pdf_expiration_date<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-pre-run-rule-content\">mepr-pre-run-rule-content<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<div>Add this filter to allow external resources\u00a0to control whether to show or hide this content\u00a0if the resource sets the filter to FALSE then it will not be protected<\/div>\n\n\n\n<div>It is used inside the function to replace content for unauthorized visitors if redirect_on_unauthorized is not selected in MeprOptions.<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$value<\/strong> Boolean<\/div>\n\n\n\n<div><strong>$current_post<\/strong> WP_Post<\/div>\n\n\n\n<div><strong>$uri<\/strong> String<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Unprotect MemberPress posts if they have a certain category\n\nadd_filter('mepr-pre-run-rule-content', 'mepr_override_content_protection', 11, 3);\n\nfunction mepr_override_content_protection($protect, $post, $uri) {\n  if(has_category('category_slug_here', $post)) { $protect = false;\n  }\n  return $protect;\n}<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-pre-run-rule-redirection\">mepr-pre-run-rule-redirection<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<div>Add this filter to allow external resources\u00a0to control whether to redirect away from this content. If the resource sets the filter to FALSE then no redirect will occur<\/div>\n\n\n\n<div>It is used inside the function to redirect unauthorized visitors if redirect_on_unauthorized is selected in MeprOptions or\u00a0if we're protecting a WP controlled-URI<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$protect<\/strong> Boolean<\/div>\n\n\n\n<div><strong>$uri<\/strong> String\u00a0 \u00a0<\/div>\n\n\n\n<div><strong>$delim<\/strong> String<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Unprotect MemberPress posts if they have a certain category\n\nadd_filter('mepr-pre-run-rule-redirection', 'mepr_override_redirection_protection', 11, 3);\n\nfunction mepr_override_redirection_protection($protect, $uri, $delim) {\n  global $post; \/\/$post - may not be availble here if not using \"template_redirect\" as the redirect action in MemberPress Options\n  if(!isset($post) || !($post instanceof WP_Post)) { return $protect; }\n  $user = MeprUtils::get_currentuserinfo();\n  if($user === false) { return $protect; }\n  $registration_date = strtotime(MeprUser::get_user_registration_date($user->ID)) - MeprUtils::months(1);\n  $post_date = strtotime($post->post_date);\n  $active_product_subscriptions = $user->active_product_subscriptions();\n  if(!empty($active_product_subscriptions) && $post_date >= $registration_date) {\n    return false; \/\/ Don't protect the content\n  }\n  return $protect;\n}<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-last-chance-to-block-content\">mepr-last-chance-to-block-content<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<div>The user is allowed to see this content, but it gives developers one last chance to\u00a0block it if necessary. It will be very helpful for magazine style membership sites. It\u00a0returns TRUE here to block the content from this user.<\/div>\n\n\n\n<div>It is used inside the function to replace content for unauthorized visitors if redirect_on_unauthorized is not selected in MeprOptions.<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$value<\/strong> Boolean<\/div>\n\n\n\n<div><strong>$current_post<\/strong> WP_Post<\/div>\n\n\n\n<div><strong>$uri<\/strong> String<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Block the post based on the post ID\n\nfunction mepr_block_content($value, $current_post, $uri) {\n  if($current_post->ID === 2) { \/\/ Blocks the post with ID 2. Adjust the ID to the ID of the post you need to block.\n    return true;\n  }\n\n  return $value;\n}\nadd_filter('mepr-last-chance-to-block-content', 'mepr_block_content', 10, 3);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-rule-redirect-unauthorized-url\">mepr-rule-redirect-unauthorized-url<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Redirect unauthorized visitors to a different page instead of the global unauthorized page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$redirect_url<\/strong> String<\/div>\n\n\n\n<div><strong>$delim<\/strong> String<\/div>\n\n\n\n<div><strong>$uri<\/strong> String<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Redirect unauthorized visitors to the particular page\n\nfunction mepr_single_redirect($redirect_url, $delim, $uri) {\n  global $post;\n  if($post->ID === 2) {\n    $redirect_url = \"https:\/\/your-domain.com\/new-page{$delim}mepr-unauth-page={$post->ID}&redirect_to=\".urlencode($uri);\n  }\n  return $redirect_url;\n}\n\nadd_filter('mepr-rule-redirect-unauthorized-url', 'mepr_single_redirect', 10, 3);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-validate-signup\">mepr-validate-signup<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>It is used to validate signup fields<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$errors<\/strong> Array<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Limit Signups to USA only\n\nfunction limit_signups_to_one_country($errors) {\n  if(!isset($_POST['mepr-address-country']) || $_POST['mepr-address-country'] != 'US') {\n    $errors[] = 'Sorry, signups are currently limited to USA only.';\n  }\n  return $errors;\n}\n\nadd_filter('mepr-validate-signup', 'limit_signups_to_one_country');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-signup-styles\">mepr-signup-styles<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Add custom style to the signup page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$prereqs<\/strong> Array<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_signup_styles($prereqs) {\n  \/\/ Do what you need\n  return $prereqs;\n}\n\nadd_filter('mepr-signup-styles', 'mepr_signup_styles');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-signup-scripts\">mepr-signup-scripts<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Add custom script to signup or account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$prereqs<\/strong> Array<\/p>\n\n\n\n<p><strong>$is_product_page<\/strong> Boolean<\/p>\n\n\n\n<p><strong>$is_account_page<\/strong> Boolean<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_signup_scripts($prereqs, $is_product_page, $is_account_page) {\n\/\/ Do what you need\nreturn $prereqs;\n}\n\nadd_filter('mepr-signup-scripts', 'mepr_signup_scripts', 10, 3);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-signup-checkout-url\">mepr-signup-checkout-url<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>It is used to change the signup checkout URL<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$url<\/strong> String<\/div>\n\n\n\n<div><strong>$txn<\/strong> Transaction object<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_signup_checkout_url($url, $txn) {\n  \/\/ Do what you need\n  return $url;\n}\n\nadd_filter('mepr-signup-checkout-url', 'mepr_signup_checkout_url', 11, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_render_custom_fields\">mepr_render_custom_fields<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Re-order custom fields on the signup page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$custom_fields<\/strong> Array<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function moveElement(&$array, $a, $b) {\n  $out = array_splice($array, $a, 1);\n  array_splice($array, $b, 0, $out);\n}\n\nfunction mepr_render_custom_fields_fn($custom_fields) {\n  moveElement($custom_fields, 5, 2);\n  return $custom_fields;\n}\n\nadd_filter('mepr_render_custom_fields', 'mepr_render_custom_fields_fn');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_product_access_string\">mepr_product_access_string<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change message displayed on the registration page when a user has already subscribed to this membership<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$prd<\/strong> Membership Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_custom_product_access_string($prd) {\n  $echo = preg_replace('\/you have already subscribed to this item\/i', 'Custom message', $prd);\n  $echo = preg_replace('\/click here to access it\/i', 'Custom text link', $echo);\n  return $echo;\n}\n\nadd_filter('mepr_product_access_string', 'mepr_custom_product_access_string');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-stripe-elements-appearance\">mepr-stripe-elements-appearance<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change default styling of Stripe fields<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$style<\/strong> Array<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Change the text color of the Stripe fields to green\n\nfunction mepr_change_stripe_text_color($style) {\n$style['variables']['colorText'] = 'green';\nreturn $style;\n}\n\nadd_filter('mepr-stripe-elements-appearance', 'mepr_change_stripe_text_color');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-stripe-form-hide-postal-code\">mepr-stripe-form-hide-postal-code<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Remove postal code from Stripe field<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$hide<\/strong> Boolean<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_hide_post_code_stripe_elements($hide) {\n  return true;\n}\n\nadd_filter('mepr-stripe-form-hide-postal-code', 'mepr_hide_post_code_stripe_elements');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-is-product-page\">mepr-is-product-page<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Enqueue scripts for custom membership pages. It is needed if someone has a phone field issue with our scripts missing<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$return<\/strong> Boolean<\/p>\n\n\n\n<p><strong>$post<\/strong> Post Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_is_product_page($return, $post) {\n  $custom_pages = array(2710);\n  if(isset($post) && in_array($post->ID, $custom_pages)) {\n    return true;\n  }\n  return $return;\n}\n\nadd_filter('mepr-is-product-page', 'mepr_is_product_page', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-product-url\">mepr-product-url<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Set custom page with  shortcode as membership page. That will update all links on the Account page, so they no longer point to the default registration page.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$url<\/strong> String<\/p>\n\n\n\n<p><strong>$product<\/strong> Membership Object<\/p>\n\n\n\n<p><strong>$args<\/strong> Array<\/p>\n\n\n\n<p><strong>$modify_if_https<\/strong> Boolean<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_custom_membership_urls($url, $product, $args, $modify_if_https) {\n  if($product->ID === 123) {\n    $url = 'https:\/\/your-domain.com\/professional-membership\/';\n  };\n  if($product->ID === 456) {\n    $url = 'https:\/\/your-domain.com\/basic-membership\/';\n  };\n  return $url;\n}\n\nadd_filter('mepr-product-url', 'mepr_custom_membership_urls', 10, 4);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_format_currency\">mepr_format_currency<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the way the price and currency on registration pages are displayed.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$rstr<\/strong> String<\/p>\n\n\n\n<p><strong>$number<\/strong> Number<\/p>\n\n\n\n<p><strong>$show_symbol<\/strong> Boolean<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<p>Add space between price and currency symbol<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_format_currency_func($rstr, $number, $show_symbol) {\n  $mepr_options = MeprOptions::fetch();\n  return (string)MeprUtils::format_currency_float((float)$number, 2) . ' ' . $mepr_options->currency_symbol;\n}\n\nadd_filter('mepr_format_currency', 'mepr_format_currency_func', 10, 3);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-admin-members-cols\">mepr-admin-members-cols<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>It allows you to add a custom column to the Members page in the backend (<strong>Dashboard > MemberPress >\u00a0Members<\/strong>).<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$cols<\/strong> Array<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_admin_members_cols($cols) {\n  \/\/ Do what you need\n  return $cols;\n}\n\nadd_filter('mepr-admin-members-cols', 'mepr_admin_members_cols');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-admin-subscriptions-cols\">mepr-admin-subscriptions-cols<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Add column to the Admin site<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$cols<\/strong> Array<\/p>\n\n\n\n<p><strong>$prefix<\/strong> String<\/p>\n\n\n\n<p><strong>$lifetime<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_add_admin_subscriptions_cols($cols, $prefix, $lifetime) {\n  $cols[$prefix.'site'] = 'Site';\n  return $cols;\n}\n\nadd_filter('mepr-admin-subscriptions-cols', 'mepr_add_admin_subscriptions_cols', 10, 3);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_user_subscriptions_query_cols\">mepr_user_subscriptions_query_cols<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>It is used to fetch additional columns from the user's subscription<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$cols<\/strong> Array<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_user_subscriptions_query_cols($cols) {\n  \/\/Do what you need\n  return $cols;\n}\n\nadd_filter('mepr_user_subscriptions_query_cols', 'mepr_user_subscriptions_query_cols');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-admin-transactions-cols\">mepr-admin-transactions-cols<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Add column to the Admin Transactions table<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$cols<\/strong> Array<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_add_admin_transactions_cols($cols) {\n  \/\/ Add your column here\n  return $cols;\n}\n\nadd_filter('mepr-admin-transactions-cols', 'mepr_add_admin_transactions_cols');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-admin-transactions-sortable-cols\">mepr-admin-transactions-sortable-cols<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Add a sortable column to the Admin Transactions table<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$cols<\/strong> Array<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_admin_transactions_sortable_cols($cols) {\n  \/\/ Add your column here\n  return $cols;\n}\n\nadd_filter('mepr_admin_transactions_sortable_cols', 'mepr-admin-transactions-sortable-cols');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_nonrecurring_subscriptions_table_joins\">mepr_nonrecurring_subscriptions_table_joins<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>It is used to modify the join query to fetch from the non-recurring subscriptions table<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$joins<\/strong> Array<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_nonrecurring_subscriptions_table_joins($joins) {\n  \/\/Do what you need\n  return $joins;\n}\n\nadd_filter('mepr_nonrecurring_subscriptions_table_joins', 'mepr_nonrecurring_subscriptions_table_joins');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_nonrecurring_subscriptions_table_cols\">mepr_nonrecurring_subscriptions_table_cols<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>It is used to modify columns fetched from non-recurring subscriptions table<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$cols<\/strong> Array<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_nonrecurring_subscriptions_table_cols($cols) {\n  \/\/Do what you need\n  return $cols;\n}\n\nadd_filter('mepr_nonrecurring_subscriptions_table_cols', 'mepr_nonrecurring_subscriptions_table_cols');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_recurring_subscriptions_table_joins\">mepr_recurring_subscriptions_table_joins<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>It is used to modify the join query to fetch from the recurring subscriptions table<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$joins<\/strong> Array<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_recurring_subscriptions_table_joins($joins) {\n  \/\/Do what you need\n  return $joins;\n}\n\nadd_filter('mepr_recurring_subscriptions_table_joins', 'mepr_recurring_subscriptions_table_joins');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_recurring_subscriptions_table_cols\">mepr_recurring_subscriptions_table_cols<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>It is used to modify columns fetched from the subscriptions table<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$cols<\/strong> Array<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_recurring_subscriptions_table_cols($cols) {\n  \/\/Do what you need\n  return $cols;\n}\n\nadd_filter('mepr_recurring_subscriptions_table_cols', 'mepr_recurring_subscriptions_table_cols');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_import_subscription_pre_store\">mepr_import_subscription_pre_store<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>It is used to modify subscriptions in Importer before it is stored<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$sub<\/strong> Subscription object<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_import_subscription_pre_store($sub_id) {\n  \/\/Do what you need\n}\n\nadd_filter('mepr_import_subscription_pre_store', 'mepr_import_subscription_pre_store');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_import_subscription_post_store\">mepr_import_subscription_post_store<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>It is used to modify subscriptions in Importer after it is stored<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$sub_id<\/strong> Integer<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_import_subscription_post_store($sub_id) {\n  \/\/Do what you need\n}\n\nadd_filter('mepr_import_subscription_post_store', 'mepr_import_subscription_post_store');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_user_subscriptions_customize_subscription\">mepr_user_subscriptions_customize_subscription<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>It is used to filter through the subscriptions. It is called the inside foreach loop.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$sub<\/strong> Subscription or Transaction object<\/div>\n\n\n\n<div><strong>$row<\/strong> Subscription for each item in the loop<\/div>\n\n\n\n<div><strong>$user<\/strong> User object<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_customize_subscription($sub, $row, $user) {\n  \/\/Do what you need\n}\n\nadd_filter('mepr_user_subscriptions_customize_subscription', 'mepr_customize_subscription', 10, 3);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-account-welcome-message\">mepr-account-welcome-message<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the welcome message on the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$message<\/strong> String<\/p>\n\n\n\n<p><strong>$user<\/strong> User Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_account_welcome_message($message, $user) {\n  \/\/ Do what you need\n  return message;\n}\n\nadd_filter('mepr-account-welcome-message', 'mepr_account_welcome_message', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-user-message\">mepr-user-message<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the user message on the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$message<\/strong> String<\/p>\n\n\n\n<p><strong>$user<\/strong> User Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_account_user_message($message, $user) {\n\/\/ Do what you need\nreturn message;\n}\n\nadd_filter('mepr-user-message', 'mepr_account_user_message', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-account-nav-home-link\">mepr-account-nav-home-link<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the link of the Home tab on the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_account_nav_home_link() {\n  \/\/ Return your link\n}\n\nadd_filter('mepr-account-nav-home-link', 'mepr_account_nav_home_link');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-account-nav-subscriptions-link\">mepr-account-nav-subscriptions-link<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the link of the Subscriptions tab on the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_account_nav_subscriptions_link() {\n  \/\/ Return your link\n}\n\nadd_filter('mepr-account-nav-subscriptions-link', 'mepr_account_nav_subscriptions_link');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-account-nav-payments-link\">mepr-account-nav-payments-link<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the link of the Payments tab on the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_account_nav_payments_link() {\n  \/\/ Return your link\n}\n\nadd_filter('mepr-account-nav-payments-link', 'mepr_account_nav_payments_link');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-account-nav-home-label\">mepr-account-nav-home-label<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the label of the Subscriptions tab on the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_account_nav_home_label() {\n  \/\/ Return a new label\n}\n\nadd_filter('mepr-account-nav-home-label', 'mepr_account_nav_home_label');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-account-nav-subscriptions-label\">mepr-account-nav-subscriptions-label<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the label of the Subscriptions tab of the Account page and the Subscriptions label in the message that appears on this page if there are any issues with user subscriptions<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_account_nav_subscriptions_label() {\n  \/\/ Return a new label\n}\n\nadd_filter('mepr-account-nav-subscriptions-label', 'mepr_account_nav_subscriptions_label');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-account-nav-payments-label\">mepr-account-nav-payments-label<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the label of the Payments tab of the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_account_nav_payments_label() {\n  \/\/ Return a new label\n}\n\nadd_filter('mepr-account-nav-payments-label', 'mepr_account_nav_payments_label');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-account-payment-product-name\">mepr-account-payment-product-name<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the Membership Title in the Membership column. It is in the Payments tab of the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$membership_title<\/strong> String<\/p>\n\n\n\n<p><strong>$txn<\/strong> Transaction Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_account_payment_product_name($membership_title, $txn) {\n  \/\/ Do what you need\n  return $membership_title;\n}\n\nadd_filter('mepr-account-payment-product-name', 'mepr_account_payment_product_name', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-account-subscr-product-name\">mepr-account-subscr-product-name<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the Membership Title in the Membership column. It is in the Subscriptions tab of the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$membership_title<\/strong> String<\/p>\n\n\n\n<p><strong>$txn<\/strong> Transaction Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_account_subscr_product_name($membership_title, $txn) {\n  \/\/ Do what you need\n  return $membership_title;\n}\n\nadd_filter('mepr-account-subscr-product-name', 'mepr_account_subscr_product_name', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-validate-account\">mepr-validate-account<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>It is used to validate fields on the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$errors<\/strong> Array<\/div>\n\n\n\n<div><strong>$user<\/strong> User object<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Validate Display Name field to MemberPresss account page\n\nfunction mpdn_validate_on_account($errors, $user) {\n  if(!isset($_POST['mepr_user_display_name']) || empty($_POST['mepr_user_display_name'])) {\n    $errors[] = \"You must enter a Public Display Name\";\nreturn $errors;\n}\n\n$display_name = stripslashes($_POST['mepr_user_display_name']);\n$new_email = stripslashes($_POST['user_email']);\n$old_email = $user->user_email;\n$username = $user->user_login;\n\nif($display_name == $new_email || $display_name == $old_email) {\n  $errors[] = \"Your Public Display Name cannot be the same as your Email Address\";\n}\n\nif($display_name == $username) {\n  $errors[] = \"Your Public Display Name cannot be the same as your Username\";\n}\n  return $errors;\n}\n\nadd_filter('mepr-validate-account', 'mpdn_validate_on_account', 11, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-active-nav-tab\">mepr-active-nav-tab<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the navigation class of tabs on the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$class<\/strong> String<\/p>\n\n\n\n<p><strong>$tab<\/strong> String<\/p>\n\n\n\n<p><strong>$active_class<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_active_nav_tab($class, $tab, $active_class) {\n  \/\/ Do what you need\n  return $class;\n}\n\nadd_filter('mepr-active-nav-tab', 'mepr_active_nav_tab', 10, 3);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_custom_upgrade_link_txn\">mepr_custom_upgrade_link_txn<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Add content after the Change Plan link on the Subscriptions tab of the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$html<\/strong> String<\/p>\n\n\n\n<p><strong>$txn<\/strong> Transaction Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_custom_upgrade_link_txn_fn($html, $txn) {\n  \/\/ Do what you need\n  return $html;\n}\n\nadd_filter('mepr_custom_upgrade_link_txn', 'mepr_custom_upgrade_link_txn_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-product-renewal-string\">mepr-product-renewal-string<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the renewal price display string for a one-time payment. <strong>Note: <\/strong>This does not change the actual renewal price.\u00a0<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$renewal_str<\/strong> String<\/p>\n\n\n\n<p><strong>$product<\/strong> Membership Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Change renewal price display string for membership with ID 123\n\nfunction mepr_product_renewal_price($renewal_str, $product) {\n  if($product->ID === 123) { \/\/ Adjust the ID on this line\n  $renewal_str = ' (<strong>Special offer<\/strong> for renewal)';\n}\nreturn $renewal_str;\n}\n\nadd_filter('mepr-product-renewal-string', 'mepr_product_renewal_price', 2, 10);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_payments_per_page\">mepr_payments_per_page<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<div>Change the number of payments displayed on the Account page<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_payments_per_page() {\n  return 10;\n}\n\nadd_filter('mepr_payments_per_page', 'mepr_payments_per_page');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_is_account_page\">mepr_is_account_page<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Add a custom account page so all MemberPress scripts are enqueued<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$is_account<\/strong> Boolean<\/p>\n\n\n\n<p><strong>$post<\/strong> Post Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_is_account_page_fn($is_account_page, $post) {\n  if(is_page(123)) {\n    return true;\n  };\n  return $is_account_page;\n}\n\nadd_filter('mepr_is_account_page', 'mepr_is_account_page_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-account-action\">mepr-account-action<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Display a specific section of the Account form on the custom page, using the following shortcode:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>[mepr-account-form]<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$action<\/strong> String, for example, subscriptions, payments, or courses<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/ Display the Subscriptions table from the Account page on the custom page. The <strong>mepr-account-form<\/strong> shortcode must be added to that custom page for the code snippet to work.\n\nfunction mepr_account_action_fn($action) {\n  if(is_page(2006) && !isset($_GET['action'])) {\n    return 'subscriptions';\n  };\n  return $action;\n}\n\nadd_filter('mepr-account-action', 'mepr_account_action_fn');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-login-redirect-url\">mepr-login-redirect-url<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change URL to redirect member after login. This redirect will be overwritten with per membership redirect URL settings<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$url<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_login_redirect_url($url) {\n  \/\/ Do what you need\n  return $url;\n}\n\nadd_filter('mepr-login-redirect-url', 'mepr_login_redirect_url');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-process-login-redirect-url\">mepr-process-login-redirect-url<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the after-login redirection URL. It replaces the Global and Per-membership Login URL settings.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$url<\/strong> String<\/p>\n\n\n\n<p><strong>$user<\/strong> User Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Redirect member to URL after login\n\nfunction mepr_process_login_redirect_url_fn($url, $user) {\n  $roles = $user->roles;\n  if($roles && false !== array_search('author', $roles)) {\n    $url = 'https:\/\/your_domain.com';\n  }\n  return $url;\n}\n\nadd_filter('mepr-process-login-redirect-url', 'mepr_process_login_redirect_url_fn', 11, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-login-uname-or-email-str\">mepr-login-uname-or-email-str<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the <strong>Username or E-mail<\/strong> label on the Login page. This label is displayed when the <strong>Members must use their email address for their Username<\/strong> option is enabled in the MemberPress settings.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_login_uname_or_email_str() {\n  return 'New Username or E-mail Label';\n}\n\nadd_filter('mepr-login-uname-or-email-str', 'mepr_login_uname_or_email_str');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-login-uname-str\">mepr-login-uname-str<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the <strong>Username <\/strong>label on the Login page.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_login_uname_str() {\nreturn 'New Username Label';\n}\n\nadd_filter('mepr-login-uname-str', 'mepr_login_uname_str');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-unauthorized-login-link-text\">mepr-unauthorized-login-link-text<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the label of the <strong>Login <\/strong>link within the unauthorized message<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr-unauthorized-login-link-text() {\nreturn 'New Login Link';\n}\n\nadd_filter('mepr-unauthorized-login-link-text', 'mepr-unauthorized-login-link-text');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-auto-login\">mepr-auto-login<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Control whether a new user is automatically logged in.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$auto_login<\/strong> Boolean<\/p>\n\n\n\n<p><strong>$membership_id<\/strong> Membership Object<\/p>\n\n\n\n<p><strong>$mepr_user<\/strong> User Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_disable_auto_login($auto_login, $membership_id, $mepr_user) {\n  return false;\n}\n\nadd_filter('mepr-auto-login', 'mepr_disable_auto_login', 10, 3);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-wp-mail-recipients\">mepr-wp-mail-recipients<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change email recipients<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$recipients<\/strong> Array<\/p>\n\n\n\n<p><strong>$subject<\/strong> String<\/p>\n\n\n\n<p><strong>$message<\/strong> String<\/p>\n\n\n\n<p><strong>$headers<\/strong> Array<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_wp_mail_recipients($recipients, $subject, $message, $headers) {\n  \/\/ Do what you need\n  return $recipients;\n}\n\nadd_filter('mepr-wp-mail-recipients', 'mepr_wp_mail_recipients', 10, 4);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-wp-mail-subject\">mepr-wp-mail-subject<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change email subject<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$subject<\/strong> String<\/p>\n\n\n\n<p><strong>$recipients<\/strong> Array<\/p>\n\n\n\n<p><strong>$message<\/strong> String<\/p>\n\n\n\n<p><strong>$headers<\/strong> Array<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_wp_mail_subject($subject, $recipients, $message, $headers) {\n  \/\/ Do what you need\n  return $subject;\n}\n\nadd_filter('mepr-wp-mail-subject', 'mepr_wp_mail_subject', 10, 4);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-wp-mail-message\">mepr-wp-mail-message<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change email message<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$message<\/strong> String<\/p>\n\n\n\n<p><strong>$recipients<\/strong> Array<\/p>\n\n\n\n<p><strong>$subject<\/strong> String<\/p>\n\n\n\n<p><strong>$headers<\/strong> Array<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_wp_mail_message($message, $recipients, $subject, $headers) {\n  \/\/ Do what you need\n  return $message;\n}\n\nadd_filter('mepr-wp-mail-message', 'mepr_wp_mail_message', 10, 4);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-wp-mail-headers\">mepr-wp-mail-headers<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change email header<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$headers<\/strong> Array<\/p>\n\n\n\n<p><strong>$recipients<\/strong> Array<\/p>\n\n\n\n<p><strong>$subject<\/strong> String<\/p>\n\n\n\n<p><strong>$message<\/strong> String<\/p>\n\n\n\n<p><strong>$attachments<\/strong> Array<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<p>Add CC to all emails<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_wp_mail_headers($headers, $recipients, $subject, $message, $attachments) {\n  $cc_email = sanitize_email('example@abc.com');\n  $headers[] = 'Cc: ' . $cc_email;\n  return $headers;\n}\n\nadd_filter('mepr-wp-mail-headers', 'mepr_wp_mail_headers', 10, 5);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_reminder_email_params\">mepr_reminder_email_params<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Modify values returned from reminder email parameters<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$params<\/strong> Array<\/p>\n\n\n\n<p><strong>$reminder<\/strong> Reminder Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_reminder_email_params_fn($params, $reminder) {\n  \/\/ Do what you need\n  return $params;\n}\n\nadd_filter('mepr_reminder_email_params', 'mepr_reminder_email_params_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_reminder_email_vars\">mepr_reminder_email_vars<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Modify reminder email parameters variables<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$vars<\/strong> Array<\/p>\n\n\n\n<p><strong>$reminder<\/strong> Reminder Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_reminder_email_vars_fn($vars, $reminder) {\n  \/\/ Do what you need\n  return $vars;\n}\n\nadd_filter('mepr_reminder_email_vars', 'mepr_reminder_email_vars_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_subscription_email_params\">mepr_subscription_email_params<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Modify values returned from email parameters<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$params<\/strong> Array<\/p>\n\n\n\n<p><strong>$sub<\/strong> Subscription Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_subscription_email_params_fn($params, $sub) {\n  \/\/ Do what you need\n  return $params;\n}\n\nadd_filter('mepr_subscription_email_params', 'mepr_subscription_email_params_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_subscription_email_vars\">mepr_subscription_email_vars<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Modify email parameters variables<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$vars<\/strong> Array<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_subscription_email_vars_fn($vars) {\n  \/\/ Do what you need\n  return $vars;\n}\n\nadd_filter('mepr_subscription_email_vars', 'mepr_subscription_email_vars_fn');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-pdf-invoice-data\">mepr-pdf-invoice-data<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Modify invoice parameters generated by PDF Invoice Add-on<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$invoice<\/strong> Invoice Object<\/p>\n\n\n\n<p><strong>$txn<\/strong> Transaction Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Change the invoice's description\n\nfunction mepr_change_invoice_desc($invoice, $txn) {\n  $prd = $txn->product();\n  $invoice['items'][0]['description'] = $prd->post_title;\n  return $invoice;\n}\n\nadd_filter('mepr-pdf-invoice-data', 'mepr_change_invoice_desc', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_pdf_invoice_filename\">mepr_pdf_invoice_filename<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the file name when an invoice is downloaded.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$file_name<\/strong> Filename of PDF invoice<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">add_filter('mepr_pdf_invoice_filename', function($file_name) {\n  $file_name = 'mepr_txn_invoice.pdf';\n  return $file_name;\n}, 10, 1);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-hide-cpt-access-column\">mepr-hide-cpt-access-column<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Remove the Access column in the Custom Post Types pages in the dashboard<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$except<\/strong> Array of CPT' names<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_hide_cpt_access_column($except) {\n  \/\/ Do what you need\n  return $prereqs;\n}\n\nadd_filter('mepr-hide-cpt-access-column', 'mepr_hide_cpt_access_column');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_fetch_options\">mepr_fetch_options<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>It is used to filter fetched MemberPress options<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$options<\/strong> MemberPress Options Object<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Remove the State Field completely <em>(it requires more code to function properly)<\/em>\n\nfunction trim_down_address_fields($options) {\n  foreach($options->address_fields as $i => $o) {\n    if($o->field_key == 'mepr-address-state') {\n      unset($options->address_fields[$i]);\n    }\n  }\n  return $options;\n}\n\nadd_filter('mepr_fetch_options', 'trim_down_address_fields');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_checkout_show_terms\">mepr_checkout_show_terms<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Show price terms in the Signup form<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$show_price<\/strong> Boolean<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Hide price terms on Signup pages\n\nfunction mepr_checkout_show_terms_fn($show_price) {\n  return false;\n}\n\nadd_filter('mepr_checkout_show_terms', 'mepr_checkout_show_terms_fn');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_custom_cancel_link\">mepr_custom_cancel_link<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>It is used to change the MemberPress Cancel URL in the Actions column on the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<div><strong>$html<\/strong> String<\/div>\n\n\n\n<div><strong>$sub<\/strong> Subscription object<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Hijack MemberPress Cancel URL <em>(it requires more code to function properly)<\/em>\n\nfunction cspf_custom_cancel_link($html, $sub) {\n  ob_start();\n  ?>\n  <a href=\"?action=upsell&sub=<?php echo $sub->id; ?>\">Cancel<\/a>\n  <?php\n  return ob_get_clean();\n}\n\nadd_action('mepr_custom_cancel_link', 'cspf_custom_cancel_link', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-currency-symbols\">mepr-currency-symbols<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the list of <strong>Currency Symbol<\/strong> in the MemberPress General settings<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$codes<\/strong> Array<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_currency_symbols($codes) {\n  $new_code = array('\u09f3');\n  array_splice( $codes, 4, 0, $new_code );\n  return $codes;\n}\n\nadd_filter('mepr-currency-symbols', 'mepr_currency_symbols');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-currency-codes\">mepr-currency-codes<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the list of \u201cCurrency Code\u201d in the MemberPress General settings<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$codes<\/strong> Array<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_currency_codes($codes) {\n  $new_code = array('BDT');\n  array_splice( $codes, 4, 0, $new_code );\n  return $codes;\n}\n\nadd_filter('mepr-currency-codes', 'mepr_currency_codes');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-language-codes\">mepr-language-codes<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the list of \u201cLanguage Code\u201d in the MemberPress General settings<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$codes<\/strong> Array<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_language_codes($codes) {\n  $new_code = array('BN');\n  array_splice( $codes, 4, 0, $new_code );\n  return $codes;\n}\n\nadd_filter('mepr-language-codes', 'mepr_language_codes');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_countries\">mepr_countries<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the list of countries on the signup page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$countries<\/strong> Array<\/p>\n\n\n\n<p><strong>$prioritize_my_country<\/strong> Boolean<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Leave Germany as the only country in the dropdown list on the signup page\n\nfunction mepr_countries_fn($countries, $prioritize_my_country) {\n  return array(\n  'DE' => _x('Germany', 'ui', 'memberpress')\n  );\n}\n\nadd_filter('mepr_countries', 'mepr_countries_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-jobs-config\">mepr-jobs-config<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change default WP Cron job configuration object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$config<\/strong> Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_jobs_config($config) {\n  $config['worker']['interval'] = MeprUtils::minutes(30);\n  return (object)$config;\n}\n\nadd_filter('mepr-jobs-config', 'mepr_jobs_config');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-admin-capability\">mepr-admin-capability<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change default MemberPress capability to display MemberPress menu items<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$cap<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_admin_capability($cap) {\n  \/\/ Do what you need\n  return $cap;\n}\n\nadd_filter('mepr-admin-capability', 'mepr_admin_capability');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_price_box_benefit\">mepr_price_box_benefit<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change item in the list of Group benefits<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$element<\/strong> String<\/p>\n\n\n\n<p><strong>$index<\/strong> Number<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_price_box_benefit_fn($element, $index) {\n  \/\/ Do what you need\n  return $element;\n}\n\nadd_filter('mepr_price_box_benefit', 'mepr_price_box_benefit_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-group-css-classes-string\">mepr-group-css-classes-string<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the class of the Group price box<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$classes<\/strong> String<\/p>\n\n\n\n<p><strong>$product<\/strong> Membership Object<\/p>\n\n\n\n<p><strong>$group<\/strong> Group Object<\/p>\n\n\n\n<p><strong>$preview<\/strong> Boolean<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_group_css_classes_string($classes, $product, $group, $preview) {\n  \/\/ Do what you need\n  return $classes;\n}\n\nadd_filter('mepr-group-css-classes-string', 'mepr_group_css_classes_string', 10, 4);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-group-page-item-output\">mepr-group-page-item-output<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the Group box item<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$output<\/strong> String<\/p>\n\n\n\n<p><strong>$product<\/strong> Membership Object<\/p>\n\n\n\n<p><strong>$group<\/strong> Group Object<\/p>\n\n\n\n<p><strong>$preview<\/strong> Boolean<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_group_page_item_output($output, $product, $group, $preview) {\n  \/\/ Do what you need\n  return $output;\n}\n\nadd_filter('mepr-group-page-item-output', 'mepr_group_page_item_output', 10, 4);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_custom_thankyou_message\">mepr_custom_thankyou_message<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the custom Thank You page message<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$message<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_custom_thankyou_message_fn($message) {\n  \/\/ Do what you need\n  return $message;\n}\n\nadd_filter('mepr_custom_thankyou_message', 'mepr_custom_thankyou_message_fn');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_user_pw_reset_title\">mepr_user_pw_reset_title<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<div>Change the title of password reset email sent to user<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_user_pw_reset_title() {\n  return 10;\n}\n\nadd_filter('mepr_user_pw_reset_title', 'mepr_user_pw_reset_title');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_admin_pw_reset_title\">mepr_admin_pw_reset_title<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<div>Change the title of password reset email sent to admin<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_admin_pw_reset_title() {\n  return 10;\n}\n\nadd_filter('mepr_admin_pw_reset_title', 'mepr_admin_pw_reset_title');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-userroles-add-roles\">mepr-userroles-add-roles<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Add the role to a user when a subscription is active<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$roles_user_should_have<\/strong> Array<\/p>\n\n\n\n<p><strong>$wp_user<\/strong> User Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_userroles_add_roles($roles_user_should_have, $wp_user) {<br>  array_push($roles_user_should_have, 'custom_role');<br>  return $roles_user_should_have;<br>}<br><br>add_filter('mepr-userroles-add-roles', 'mepr_userroles_add_roles', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-userroles-remove-roles\">mepr-userroles-remove-roles<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Remove role from a user when the status of subscription changes<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$roles_to_remove<\/strong> Array<\/p>\n\n\n\n<p><strong>$wp_user<\/strong> User Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_userroles_remove_roles($roles_to_remove, $wp_user) {\n  \/\/ Do what you need\n  return $roles_to_remove;\n}\n\nadd_filter('mepr-userroles-remove-roles', 'mepr_userroles_remove_roles', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr_reminder_lookup\">mepr_reminder_lookup<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change reminder name and description<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$lookup<\/strong> Array<\/p>\n\n\n\n<p><strong>$reminder<\/strong> Array of reminders<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_reminder_lookup_fn($lookup, $reminder) {\n  $lookup['member-signup']['after']['name'] = $reminder->post_title;\n  $lookup['member-signup']['before']['name'] = $reminder->post_title;\n  return $lookup;\n}\n\nadd_filter('mepr_reminder_lookup', 'mepr_reminder_lookup_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_courses_per_page\">mpcs_courses_per_page<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<div>Change the number of courses displayed on the Courses page<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_courses_per_page() {\n  return 10;\n}\n\nadd_filter('mpcs_courses_per_page', 'mpcs_courses_per_page');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_classroom_style_handles\">mpcs_classroom_style_handles<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<div>Allow additional stylesheets to be loaded for courses and lessons when ReadyLaunch\u2122 is enabled for Courses.<\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$allowed_handles\u00a0<\/strong>Array of allowed stylesheet handles<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">add_filter('mpcs_classroom_style_handles', function($allowed_handles){\n  $allowed_handles[] = 'YOUR_STYLE_HANDLE_HERE';\n  return $allowed_handles;\n});<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-account-nav-courses-link\">mepr-account-nav-courses-link<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the link of the Courses tab on the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$link<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_account_nav_courses_link($link) {\n  \/\/ Do what you need\n  return $link;\n}\n\nadd_filter('mepr-account-nav-courses-link', 'mepr_account_nav_courses_link');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-account-nav-courses-label\">mepr-account-nav-courses-label<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the label of the Courses tab on the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$label<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_account_nav_courses_label($label) {\n  \/\/ Do what you need\n  return $label;\n}\n\nadd_filter('mepr-account-nav-courses-label', 'mepr_account_nav_courses_label');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mepr-account-nav-courses-active-name\">mepr-account-nav-courses-active-name<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the active class name of the Courses tab on the Account page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$class<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mepr_account_nav_courses_active_name($class) {\n  \/\/ Do what you need\n  return $class;\n}\n\nadd_filter('mepr-account-nav-courses-active-name', 'mepr_account_nav_courses_active_name');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_redirect_lesson_to_sales\">mpcs_redirect_lesson_to_sales<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Control whether to redirect unauthorized users from the lesson page to the course page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$redirect<\/strong> Boolean<\/p>\n\n\n\n<p><strong>$lesson<\/strong> Lesson Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_redirect_lesson_to_sales_fn($redirect, $lesson) {\n  \/\/ Do what you need\n  return $redirect;\n}\n\nadd_filter('mpcs_redirect_lesson_to_sales', 'mpcs_redirect_lesson_to_sales_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_redirect_quiz_to_sales\">mpcs_redirect_quiz_to_sales<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Control whether to redirect unauthorized users from the quiz page to the course page<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$redirect<\/strong> Boolean<\/p>\n\n\n\n<p><strong>$quiz<\/strong> Quiz Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_redirect_quiz_to_sales_fn($redirect, $quiz) {\n  \/\/ Do what you need\n  return $redirect;\n}\n\nadd_filter('mpcs_redirect_quiz_to_sales', 'mpcs_redirect_quiz_to_sales_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_certificate_paper_size\">mpcs_certificate_paper_size<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change certificate paper size from default letter to A4<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$cert_paper_size<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_certificate_paper_size_fn($paper_size) {\n  \/\/ Do what you need\n  return $paper_size;\n}\n\nadd_filter('mpcs_certificate_paper_size', 'mpcs_certificate_paper_size_fn');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_classroom_header\">mpcs_classroom_header<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change Classroom header<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$content<\/strong> String<\/p>\n\n\n\n<p><strong>$classes<\/strong> Array<\/p>\n\n\n\n<p><strong>$back_url<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_classroom_header_fn($content, $classes, $back_url) {\n  \/\/ Do what you need\n  return $content;\n}\n\nadd_filter('mpcs_classroom_header', 'mpcs_classroom_header_fn', 10, 3);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_classroom_sidebar\">mpcs_classroom_sidebar<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change Classroom sidebar<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$content<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_classroom_sidebar_fn($content) {\n  \/\/ Do what you need\n  return $content;\n}\n\nadd_filter('mpcs_classroom_sidebar', 'mpcs_classroom_sidebar_fn');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_classroom_instructor\">mpcs_classroom_instructor<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the Classroom Instructor section<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$course_instructor<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_classroom_instructor_fn($course_instructor) {\n  \/\/ Do what you need\n  return $course_instructor;\n}\n\nadd_filter('mpcs_classroom_instructor', 'mpcs_classroom_instructor_fn');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_admin_questions_per_page\">mpcs_admin_questions_per_page<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the number of questions per page in search results in the course Admin area<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$questions_per_page<\/strong> Number<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_admin_questions_per_page_fn($questions_per_page) {\n  \/\/ Do what you need\n  return $questions_per_page;\n}\n\nadd_filter('mpcs_admin_questions_per_page', 'mpcs_admin_questions_per_page_fn');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs-admin-capability\">mpcs-admin-capability<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the default <strong>remove_users<\/strong> capability to grant users access to the Courses section in WordPress Dashboard<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$capability<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_admin_capability($capability) {\n  \/\/ Do what you need\n  return $capability;\n}\n\nadd_filter('mpcs-admin-capability', 'mpcs_admin_capability');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_attempt_score\">mpcs_attempt_score<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change score message (e.g. <strong>Score: 2\/4 (50%)<\/strong>) in attempts view.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$score<\/strong> String<\/p>\n\n\n\n<p><strong>$attempt<\/strong> Attempt Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_attempt_score_fn($score, $attempt) {\n  \/\/ Do what you need\n  return $score;\n}\n\nadd_filter('mpcs_attempt_score', 'mpcs_attempt_score_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_attempt_score_percent\">mpcs_attempt_score_percent<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the score percent message (e.g. <strong>Score: 50%<\/strong>) on the lesson page and in the lessons list<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$score<\/strong> String<\/p>\n\n\n\n<p><strong>$attempt<\/strong> Attempt Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_attempt_score_percent_fn($score, $attempt) {\n  \/\/ Do what you need\n  return $score;\n}\n\nadd_filter('mpcs_attempt_score_percent', 'mpcs_attempt_score_percent_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_get_score_for_answer\">mpcs_get_score_for_answer<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change score value based on the given value<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$score<\/strong> Number<\/p>\n\n\n\n<p><strong>$answer<\/strong> Answer Object<\/p>\n\n\n\n<p><strong>$question<\/strong> Question Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_get_score_for_answer_fn($score, $answer, $question) {\n  \/\/ Do what you need\n  return $score;\n}\n\nadd_filter('mpcs_get_score_for_answer', 'mpcs_get_score_for_answer_fn', 10, 3);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_is_answer_correct\">mpcs_is_answer_correct<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Control whether an answer is correct<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$is_correct<\/strong> Boolean<\/p>\n\n\n\n<p><strong>$answer<\/strong> Answer Object<\/p>\n\n\n\n<p><strong>$question<\/strong> Question Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_is_answer_correct_fn($is_correct, $answer, $question) {\n  \/\/ Do what you need\n  return $is_correct;\n}\n\nadd_filter('mpcs_is_answer_correct', 'mpcs_is_answer_correct_fn', 10, 3);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_display_feedback_incorrect_prefix\">mpcs_display_feedback_incorrect_prefix<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Control whether display the question feedback<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$display_feedback<\/strong> Boolean<\/p>\n\n\n\n<p><strong>$question<\/strong> Question Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_display_feedback_incorrect_prefix_fn($display_feedback, $question) {\n  \/\/ Do what you need\n  return $display_feedback;\n}\n\nadd_filter('mpcs_display_feedback_incorrect_prefix', 'mpcs_display_feedback_incorrect_prefix_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_question_feedback_html\">mpcs_question_feedback_html<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the question feedback HTML<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$feedback<\/strong> String<\/p>\n\n\n\n<p><strong>$question<\/strong> Question Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_question_feedback_html_fn($feedback, $question) {\n  \/\/ Do what you need\n  return $feedback;\n}\n\nadd_filter('mpcs_question_feedback_html', 'mpcs_question_feedback_html_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_certificate_pdf_file_height\">mpcs_certificate_pdf_file_height<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the height of the certificate PDF<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$height<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_certificate_pdf_file_height_fn($height) {\n  \/\/ Do what you need\n  return $height;\n}\n\nadd_filter('mpcs_certificate_pdf_file_height', 'mpcs_certificate_pdf_file_height_fn');<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_question_label\">mpcs_question_label<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change question title<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$label<\/strong> String<\/p>\n\n\n\n<p><strong>$question<\/strong> Question Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_question_label_fn($label, $question) {\n  \/\/ Do what you need\n  return $label;\n}\n\nadd_filter('mpcs_question_label', 'mpcs_question_label_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_question_required_indicator\">mpcs_question_required_indicator<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Control whether display the required indicator next to the question title<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>display_required_indicator<\/strong> Boolean<\/p>\n\n\n\n<p><strong>$question<\/strong> Question Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_question_required_indicator_fn(display_required_indicator, $question) {\n  \/\/ Do what you need\n  return display_required_indicator;\n}\n\nadd_filter('mpcs_question_required_indicator', 'mpcs_question_required_indicator_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_question_options\">mpcs_question_options<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change options displayed in multiple-choice and multiple-answer questions<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$options<\/strong> Array<\/p>\n\n\n\n<p><strong>$question<\/strong> Question Object<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">function mpcs_question_options_fn($options, $question) {\n  \/\/ Do what you need\n  return $options;\n}\n\nadd_filter('mpcs_question_options', 'mpcs_question_options_fn', 10, 2);<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_certificate_pdf_course_title\">mpcs_certificate_pdf_course_title<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the format of the course title in the PDF certificate<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$course_title<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Change the course title format in the PDF certificate from the default (each letter uppercase) to the original course title formating\n\nfunction mpcs_certificate_pdf_course_title_fn($course_title) {\n  return $course_title;\n}\n\nadd_filter('mpcs_certificate_pdf_course_title', 'mpcs_certificate_pdf_course_title_fn');\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_certificate_pdf_completion_date\">mpcs_certificate_pdf_completion_date<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the format of the Completion date in the PDF certificate<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$date_format<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Change the Completion date format in the PDF certificate to the default date format from WordPress settings\n\nfunction mpcs_certificate_pdf_completion_date_fn($date_format) {\n  return get_option( 'date_format' );\n}\n\nadd_filter('mpcs_certificate_pdf_completion_date', 'mpcs_certificate_pdf_completion_date_fn');\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mpcs_certificate_pdf_expiration_date\">mpcs_certificate_pdf_expiration_date<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>Change the format of the Expiration date in the PDF certificate<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters<\/h4>\n\n\n\n<p><strong>$date_format<\/strong> String<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Example<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted has-background\" style=\"background-color:#f5f5f5\">\/\/Change the Expiration date format in the PDF certificate to the default date format from the WordPress settings\n\nfunction mpcs_certificate_pdf_expiration_date_fn($date_format) {\n  return get_option( 'date_format' );\n}\nadd_filter('mpcs_certificate_pdf_expiration_date', 'mpcs_certificate_pdf_expiration_date_fn');\n<\/pre>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><strong>Note: <\/strong>If you are using a page builder like Elementor, while the ReadyLaunch\u2122 template is enabled for Courses,\u00a0please read our article on\u00a0<a href=\"https:\/\/memberpress.com\/docs\/how-to-edit-lessons-in-classroom-mode-with-a-page-builder\/\"><strong>How to Edit Lessons in with ReadyLaunch\u2122 and a Page Builder<\/strong><\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here you can find the list of the most common filter hooks divided into sections that you can find and use in MemberPress. If you want to learn more about hooks please check out Actions and Filters in MemberPress article. Rules Signup Admin Account Page Login Emails Invoice Miscellaneous Courses mepr-pre-run-rule-content Description Add this filter [\u2026]<\/p>\n","protected":false},"author":62252,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_strive_editorial_status":"not-started","_strive_copy_of":0,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_FSMCFIC_featured_image_caption":"","_FSMCFIC_featured_image_nocaption":"","_FSMCFIC_featured_image_hide":"","_strive_checklists":"\"\"","_strive_active_checklist":"62291e2bb2422","footnotes":""},"ht-kb-category":[1316],"ht-kb-tag":[],"class_list":{"0":"post-62212","1":"ht_kb","2":"type-ht_kb","3":"status-publish","4":"format-standard","6":"ht_kb_category-developer-tools","7":"entry"},"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.5.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"Here you can find the list of the most common filter hooks divided into sections that you can find and use in MemberPress. If you want to learn more about hooks please check out Actions and Filters in MemberPress article. Rules mepr-pre-run-rule-content mepr-pre-run-rule-redirection mepr-last-chance-to-block-content mepr-rule-redirect-unauthorized-url Signup mepr-validate-signup mepr-signup-styles mepr-signup-scripts mepr-signup-checkout-url mepr_render_custom_fields mepr_product_access_string mepr-stripe-elements-appearance mepr-stripe-form-hide-postal-code mepr-is-product-page\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Nikola M\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.5.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"pt_BR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"MemberPress\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Filter Hooks in MemberPress | MemberPress\" \/>\n\t\t<meta property=\"og:description\" content=\"Here you can find the list of the most common filter hooks divided into sections that you can find and use in MemberPress. If you want to learn more about hooks please check out Actions and Filters in MemberPress article. Rules mepr-pre-run-rule-content mepr-pre-run-rule-redirection mepr-last-chance-to-block-content mepr-rule-redirect-unauthorized-url Signup mepr-validate-signup mepr-signup-styles mepr-signup-scripts mepr-signup-checkout-url mepr_render_custom_fields mepr_product_access_string mepr-stripe-elements-appearance mepr-stripe-form-hide-postal-code mepr-is-product-page\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1650\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1275\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-02-13T14:12:52+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-05-26T08:02:55+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/memberpress\/\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@memberpress\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Filter Hooks in MemberPress | MemberPress\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Here you can find the list of the most common filter hooks divided into sections that you can find and use in MemberPress. If you want to learn more about hooks please check out Actions and Filters in MemberPress article. Rules mepr-pre-run-rule-content mepr-pre-run-rule-redirection mepr-last-chance-to-block-content mepr-rule-redirect-unauthorized-url Signup mepr-validate-signup mepr-signup-styles mepr-signup-scripts mepr-signup-checkout-url mepr_render_custom_fields mepr_product_access_string mepr-stripe-elements-appearance mepr-stripe-form-hide-postal-code mepr-is-product-page\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/filter-hooks-in-memberpress\\\/#article\",\"name\":\"Filter Hooks in MemberPress | MemberPress\",\"headline\":\"Filter Hooks in MemberPress\",\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/mp-icon-RGB_Icon-01.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#articleImage\",\"width\":1650,\"height\":1275,\"caption\":\"memberpress logo icon\"},\"datePublished\":\"2024-02-13T09:12:52-05:00\",\"dateModified\":\"2025-05-26T04:02:55-04:00\",\"inLanguage\":\"pt-BR\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/filter-hooks-in-memberpress\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/filter-hooks-in-memberpress\\\/#webpage\"},\"articleSection\":\"Developer Tools\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/filter-hooks-in-memberpress\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/memberpress.com\\\/pt\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/advanced-topics\\\/#listItem\",\"name\":\"Advanced Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/advanced-topics\\\/#listItem\",\"position\":2,\"name\":\"Advanced Topics\",\"item\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/advanced-topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/developer-tools\\\/#listItem\",\"name\":\"Developer Tools\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/developer-tools\\\/#listItem\",\"position\":3,\"name\":\"Developer Tools\",\"item\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/developer-tools\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/filter-hooks-in-memberpress\\\/#listItem\",\"name\":\"Filter Hooks in MemberPress\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/advanced-topics\\\/#listItem\",\"name\":\"Advanced Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/filter-hooks-in-memberpress\\\/#listItem\",\"position\":4,\"name\":\"Filter Hooks in MemberPress\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/developer-tools\\\/#listItem\",\"name\":\"Developer Tools\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#organization\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/mp-icon-RGB_Icon-01.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/filter-hooks-in-memberpress\\\/#organizationLogo\",\"width\":1650,\"height\":1275,\"caption\":\"memberpress logo icon\"},\"image\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/filter-hooks-in-memberpress\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/memberpress\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/memberpressplugin\\\/\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/MemberPressPlugin\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/memberpress\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/nikolacaseproof-com\\\/\",\"name\":\"Nikola M\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/litespeed\\\/avatar\\\/1edf820c48f9c430f380efe81887b154.jpg?ver=1775141118\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/filter-hooks-in-memberpress\\\/#webpage\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/filter-hooks-in-memberpress\\\/\",\"name\":\"Filter Hooks in MemberPress | MemberPress\",\"description\":\"Here you can find the list of the most common filter hooks divided into sections that you can find and use in MemberPress. If you want to learn more about hooks please check out Actions and Filters in MemberPress article. Rules mepr-pre-run-rule-content mepr-pre-run-rule-redirection mepr-last-chance-to-block-content mepr-rule-redirect-unauthorized-url Signup mepr-validate-signup mepr-signup-styles mepr-signup-scripts mepr-signup-checkout-url mepr_render_custom_fields mepr_product_access_string mepr-stripe-elements-appearance mepr-stripe-form-hide-postal-code mepr-is-product-page\",\"inLanguage\":\"pt-BR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/filter-hooks-in-memberpress\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"datePublished\":\"2024-02-13T09:12:52-05:00\",\"dateModified\":\"2025-05-26T04:02:55-04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#website\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"inLanguage\":\"pt-BR\",\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>Filter Hooks in MemberPress | MemberPress<\/title>\n\n","aioseo_head_json":{"title":"Hooks de filtro no MemberPress | MemberPress","description":"Aqui voc\u00ea encontra a lista dos hooks de filtro mais comuns divididos em se\u00e7\u00f5es que podem ser encontradas e usadas no MemberPress. Se quiser saber mais sobre hooks, consulte o artigo A\u00e7\u00f5es e filtros no MemberPress. Regras mepr-pre-run-rule-content mepr-pre-run-rule-redirection mepr-last-chance-to-block-content mepr-rule-redirect-unauthorized-url Inscri\u00e7\u00e3o mepr-validate-signup mepr-signup-styles mepr-signup-scripts mepr-signup-checkout-url mepr_render_custom_fields mepr_product_access_string mepr-stripe-elements-aparance mepr-stripe-form-hide-postal-code mepr-is-product-page","canonical_url":"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/#article","name":"Filter Hooks in MemberPress | MemberPress","headline":"Filter Hooks in MemberPress","author":{"@id":"https:\/\/memberpress.com\/pt\/blog\/author\/nikolacaseproof-com\/#author"},"publisher":{"@id":"https:\/\/memberpress.com\/pt\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","@id":"https:\/\/memberpress.com\/pt\/#articleImage","width":1650,"height":1275,"caption":"memberpress logo icon"},"datePublished":"2024-02-13T09:12:52-05:00","dateModified":"2025-05-26T04:02:55-04:00","inLanguage":"pt-BR","mainEntityOfPage":{"@id":"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/#webpage"},"isPartOf":{"@id":"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/#webpage"},"articleSection":"Developer Tools"},{"@type":"BreadcrumbList","@id":"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt#listItem","position":1,"name":"Home","item":"https:\/\/memberpress.com\/pt","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/advanced-topics\/#listItem","name":"Advanced Topics"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/advanced-topics\/#listItem","position":2,"name":"Advanced Topics","item":"https:\/\/memberpress.com\/pt\/doc-categories\/advanced-topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/developer-tools\/#listItem","name":"Developer Tools"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/developer-tools\/#listItem","position":3,"name":"Developer Tools","item":"https:\/\/memberpress.com\/pt\/doc-categories\/developer-tools\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/#listItem","name":"Filter Hooks in MemberPress"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/advanced-topics\/#listItem","name":"Advanced Topics"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/#listItem","position":4,"name":"Filter Hooks in MemberPress","previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/developer-tools\/#listItem","name":"Developer Tools"}}]},{"@type":"Organization","@id":"https:\/\/memberpress.com\/pt\/#organization","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","url":"https:\/\/memberpress.com\/pt\/","logo":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","@id":"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/#organizationLogo","width":1650,"height":1275,"caption":"memberpress logo icon"},"image":{"@id":"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/#organizationLogo"},"sameAs":["https:\/\/www.instagram.com\/memberpress\/","https:\/\/www.pinterest.com\/memberpressplugin\/","https:\/\/www.youtube.com\/c\/MemberPressPlugin","https:\/\/www.linkedin.com\/company\/memberpress\/"]},{"@type":"Person","@id":"https:\/\/memberpress.com\/pt\/blog\/author\/nikolacaseproof-com\/#author","url":"https:\/\/memberpress.com\/pt\/blog\/author\/nikolacaseproof-com\/","name":"Nikola M","image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/litespeed\/avatar\/1edf820c48f9c430f380efe81887b154.jpg?ver=1775141118"}},{"@type":"WebPage","@id":"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/#webpage","url":"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/","name":"Filter Hooks in MemberPress | MemberPress","description":"Here you can find the list of the most common filter hooks divided into sections that you can find and use in MemberPress. If you want to learn more about hooks please check out Actions and Filters in MemberPress article. Rules mepr-pre-run-rule-content mepr-pre-run-rule-redirection mepr-last-chance-to-block-content mepr-rule-redirect-unauthorized-url Signup mepr-validate-signup mepr-signup-styles mepr-signup-scripts mepr-signup-checkout-url mepr_render_custom_fields mepr_product_access_string mepr-stripe-elements-appearance mepr-stripe-form-hide-postal-code mepr-is-product-page","inLanguage":"pt-BR","isPartOf":{"@id":"https:\/\/memberpress.com\/pt\/#website"},"breadcrumb":{"@id":"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/#breadcrumblist"},"author":{"@id":"https:\/\/memberpress.com\/pt\/blog\/author\/nikolacaseproof-com\/#author"},"creator":{"@id":"https:\/\/memberpress.com\/pt\/blog\/author\/nikolacaseproof-com\/#author"},"datePublished":"2024-02-13T09:12:52-05:00","dateModified":"2025-05-26T04:02:55-04:00"},{"@type":"WebSite","@id":"https:\/\/memberpress.com\/pt\/#website","url":"https:\/\/memberpress.com\/pt\/","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","inLanguage":"pt-BR","publisher":{"@id":"https:\/\/memberpress.com\/pt\/#organization"}}]},"og:locale":"pt_BR","og:site_name":"MemberPress","og:type":"article","og:title":"Filter Hooks in MemberPress | MemberPress","og:description":"Here you can find the list of the most common filter hooks divided into sections that you can find and use in MemberPress. If you want to learn more about hooks please check out Actions and Filters in MemberPress article. Rules mepr-pre-run-rule-content mepr-pre-run-rule-redirection mepr-last-chance-to-block-content mepr-rule-redirect-unauthorized-url Signup mepr-validate-signup mepr-signup-styles mepr-signup-scripts mepr-signup-checkout-url mepr_render_custom_fields mepr_product_access_string mepr-stripe-elements-appearance mepr-stripe-form-hide-postal-code mepr-is-product-page","og:url":"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/","og:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","og:image:secure_url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","og:image:width":1650,"og:image:height":1275,"article:published_time":"2024-02-13T14:12:52+00:00","article:modified_time":"2025-05-26T08:02:55+00:00","article:publisher":"https:\/\/www.facebook.com\/memberpress\/","twitter:card":"summary_large_image","twitter:site":"@memberpress","twitter:title":"Filter Hooks in MemberPress | MemberPress","twitter:description":"Here you can find the list of the most common filter hooks divided into sections that you can find and use in MemberPress. If you want to learn more about hooks please check out Actions and Filters in MemberPress article. Rules mepr-pre-run-rule-content mepr-pre-run-rule-redirection mepr-last-chance-to-block-content mepr-rule-redirect-unauthorized-url Signup mepr-validate-signup mepr-signup-styles mepr-signup-scripts mepr-signup-checkout-url mepr_render_custom_fields mepr_product_access_string mepr-stripe-elements-appearance mepr-stripe-form-hide-postal-code mepr-is-product-page","twitter:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg"},"aioseo_meta_data":{"post_id":"62212","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"seo_analyzer_scan_date":"2025-10-09 21:55:23","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"open_ai":"{\"title\":{\"suggestions\":[],\"usage\":0},\"description\":{\"suggestions\":[],\"usage\":0}}","ai":null,"created":"2024-02-13 14:12:53","updated":"2026-03-03 14:53:00"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/pt\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/pt\/doc-categories\/advanced-topics\/\" title=\"Advanced Topics\">Advanced Topics<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/pt\/doc-categories\/developer-tools\/\" title=\"Developer Tools\">Developer Tools<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tFilter Hooks in MemberPress\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/memberpress.com\/pt"},{"label":"Advanced Topics","link":"https:\/\/memberpress.com\/pt\/doc-categories\/advanced-topics\/"},{"label":"Developer Tools","link":"https:\/\/memberpress.com\/pt\/doc-categories\/developer-tools\/"},{"label":"Filter Hooks in MemberPress","link":"https:\/\/memberpress.com\/pt\/docs\/filter-hooks-in-memberpress\/"}],"_links":{"self":[{"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb\/62212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/users\/62252"}],"replies":[{"embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/comments?post=62212"}],"version-history":[{"count":1,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb\/62212\/revisions"}],"predecessor-version":[{"id":73221,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb\/62212\/revisions\/73221"}],"wp:attachment":[{"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/media?parent=62212"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb-category?post=62212"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb-tag?post=62212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}