Docs Developer Reference Text Override Filters

Text Override Filters

Every user-facing text string in ToolDocs™ can be customized via filter hooks. Add these to your theme’s functions.php or a custom plugin.

Login Form Text

add_filter('tooldocs_login_header_text', function() {
    return 'Sign in to access your documents';
});

add_filter('tooldocs_login_email_label', function() {
    return 'Your Email Address *';
});

add_filter('tooldocs_login_button_text', function() {
    return 'Sign In';
});

add_filter('tooldocs_register_heading_text', function() {
    return 'New here?';
});

add_filter('tooldocs_register_button_text', function() {
    return 'Create Free Account';
});

add_filter('tooldocs_privacy_info_text', function() {
    return 'We respect your privacy and will never share your data.';
});

add_filter('tooldocs_privacy_policy_url', function() {
    return '/our-privacy-policy/';
});

Email Verification Text

add_filter('tooldocs_verification_heading', function() {
    return 'Verify Your Email';
});

add_filter('tooldocs_verification_subheading', function() {
    return 'We sent a 6-digit code to your email';
});

add_filter('tooldocs_verify_button_text', function() {
    return 'Verify & Continue';
});

add_filter('tooldocs_resend_button_text', function() {
    return 'Send New Code';
});

Download Modal Text

add_filter('tooldocs_download_modal_heading', function() { ... });
add_filter('tooldocs_download_modal_message', function() { ... });
add_filter('tooldocs_download_modal_button_text', function() { ... });

Registration Thank-You Text

add_filter('tooldocs_registration_thank_you_heading', function() { ... });
add_filter('tooldocs_registration_thank_you_message', function() { ... });
add_filter('tooldocs_registration_thank_you_button_text', function() { ... });

Whitelist Thank-You Text

add_filter('tooldocs_whitelist_approved_heading', function() { ... });
add_filter('tooldocs_whitelist_approved_message', function() { ... });
add_filter('tooldocs_whitelist_pending_heading', function() { ... });
add_filter('tooldocs_whitelist_pending_message', function() { ... });

Related Articles

Was this article helpful?