Customize rwmb-validation-message

Support MB User Profile Customize rwmb-validation-message

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #48733
    PTPT
    Participant

    Hi,

    On the change password page, if user enter blank password fields, it will show the message "Please correct the errors highlighted below and try again." (id="rwmb-validation-message")

    How can I change that message?

    Thank you.

    #48741
    PeterPeter
    Moderator

    Hello,

    You can try to use the filter hook rwmb_validation_message_string to customize the validation message. The code is located in the file /wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box/inc/validation.php

    #48743
    PTPT
    Participant

    Thank you.
    Is there a list of all the filter hooks? I can't find that in the documentation and therefore need to ask you.

    #48749
    PeterPeter
    Moderator

    Hello,

    There isn't a list of all filter/action hooks of Meta Box plugins. Because some of them are rarely used, we have a list of filter/action hooks that are usually used. Please check the documentation https://docs.metabox.io/category/references/

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.