Filters

Description

  • rtm_membership_success_subscription_free_message

If you want to change text You have successfully subscribed after getting a free membership and return it with a link, you can use this filter.

For example:

function custom_success_subscription_message($text)
{
    $text = $text."".__('BACK','rtmedia') ."";
    return $text;
}
add_filter('rtm_membership_success_subscription_free_message','custom_success_subscription_message',10, 1);
  • rtm_membership_plans_text

By default, the addon displays the text rtMedia Membership Plan under user profile:

If you want to change this title then you can use this filter.

function filter_to_change_profile_membership_plans_title($text){
    $text = "New Membership Plan Title";
    return $text;
}
add_filter('rtm_membership_plans_text', 'filter_to_change_profile_membership_plans_title');