Support » Plugin: WPS Hide Login » Change the default URL

  • Resolved viewup

    (@viewup)


    Hello, i’m trying to change the default URL of the plugin (login).

    I use this plugin for make my clients projects safe, but i wan’t to set the URL automatically.

    I’ve tried to use the pre_site_option_whl_page and pre_option_whl_page hooks. They work to force an specific url (my-login) but when i try to login, i get the 404 page.

    Currently, i am using the default_option_whl_page hook only to change the default but it needs an user interaction to set the option.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Even I’m facing the same issue, I have tried doing it by using WPS login plugin. But it did not work. If anyone could suggest a better way of doing it.

    Currently the only way i’ve found is changing the default and, when plugin is activated, set the initial setting with update_option

    Plugin Support Benoti

    (@benoti)

    Hello,

    As Viewup said, the only way (and easiest) is to use update_option with whl_page option name.

    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change the default URL’ is closed to new replies.