Support » Plugin: WPS Hide Login » How to get the new admin URL via a hook or something?

  • Resolved mr.psiho

    (@mrpsiho)


    Hi,

    Thanks for the plugin!
    I am using ‘admin_url( ‘/user-edit.php’ )’ in my email template. Surprisingly, it gives me a standard WP URL to admin area. So, my question is how to get the new admin URL that I have set up with your plugin. In my case it is ‘fx-admin’ instead of ‘wp-admin’

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author NicolasKulka

    (@nicolaskulka)

    Not possible, otherwise hiding the default URL would not make sense.

    I invite you to write it hard directly in your email if you wish instead of “admin_url()”

    Hm-m.. Hardcoding this value is a bad option for me as well. Well, could you suggest a hook or function with which I can get that my custom part from the settings of your plugin? Just in case my customer will decide to change that value again – so I will not have to re hardcode it everywhere.

    Plugin Author NicolasKulka

    (@nicolaskulka)

    If you give by email the hidden URL of the admin, the plugin has no interest.

    You find it in the option whl_page to have the slug of the connection url

    Of course it is. This is an email for admin.

    Thanks, will check it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to get the new admin URL via a hook or something?’ is closed to new replies.