Description

This filter hook allows you to change the text that is displayed for the Terms of Service (TOS) link.

Parameters

$text
(string) (required) The text that is displayed for the Terms of Service link.

$toggle
(string) (optional) Indicates the form that is being displayed (new|edit).

Changelog

  • Introduced in version 2.7.5
  • Added $toggle in version 2.9.0

Source

wpmem_tos_link_txt is located in forms.php

Usage

add_filter( 'wpmem_tos_link_txt', 'my_function' );

function my_function( $text )
{
	$text = 'Check to comply with the Terms of Service';
	
	return $text;
}
See a list of all filter and action hooks