Title: Function get_admin_url doesn&#039;t work
Last modified: August 22, 2016

---

# Function get_admin_url doesn't work

 *  Resolved [Guido](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/function-get_admin_url-doesnt-work/)
 * 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](https://wordpress.org/support/users/guido07111975/)
 * (@guido07111975)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/function-get_admin_url-doesnt-work/#post-5869378)
 * 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.

## Tags

 * [plugin editor](https://wordpress.org/support/topic-tag/plugin-editor/)

 * 1 reply
 * 1 participant
 * Last reply from: [Guido](https://wordpress.org/support/users/guido07111975/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/function-get_admin_url-doesnt-work/#post-5869378)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
