• Resolved Guido

    (@guido07111975)


    Hi,

    I try to add a link on my plugin settingspage to the plugin editor, so users can check the plugin stylesheet.

    I use the get_admin_url function but somehow it does not work at all:

    <p>For plugin style <a href="'.get_admin_url().'plugin-editor.php?file=MY PLUGIN FOLDER NAME/MY PLUGIN CSS FILE.css">Click Here</a>.</p>

    It gives me a 404. Am I missing something here?

    Guido

Viewing 1 replies (of 1 total)
  • Thread Starter Guido

    (@guido07111975)

    It also works without the function:

    <p>For plugin style <a href="plugin-editor.php?file=MY PLUGIN FOLDER NAME/MY PLUGIN CSS FILE.css">Click Here</a>.</p>

    Guido

Viewing 1 replies (of 1 total)
  • The topic ‘Function get_admin_url doesn't work’ is closed to new replies.