admin_url in plugins

Question

I am trying to understand when usage of admin url is required. If I do this in my plugins page, they all do the same thing.

<a href="<?php echo admin_url("admin.php?page=fap_playlist_manager"); ?>">Back to Playlist manager</a>

<a href="admin.php?page=fap_playlist_manager">Back to Playlist manager</a>

<a href="?page=fap_playlist_manager">Back to Playlist manager</a>

What does this depends on?

0
Toniq 6 years 2017-04-29T03:42:57-05:00 0 Answers 67 views 0

Leave an answer

Browse
Browse