WordPress.org

Ready to get started?Download WordPress

Forums

WP CleanFix
[resolved] admin placement (3 posts)

  1. bdconnolly
    Member
    Posted 3 years ago #

    Is it possible to move the admin link from "Dashboard" to "Tools"?

    Grazie.

    http://wordpress.org/extend/plugins/wp-cleanfix/

  2. gfazioli
    Member
    Plugin Author

    Posted 3 years ago #

    @bdconnolly: this is a strange request :)

    However, is not possibile move from "Dashboard" to "Tools" from plugin settings.
    If you really want to do this, then you have to change the core file's plugin. This activity is not recommended! Because when the plugin will be update next time, the plugin file will be overwrite.

    However, you need:

    1) Edit wp-cleanfix_admin.php file

    2) Change this code (about line 313):
    $this->plugin_page = add_submenu_page("index.php", $this->plugin_name, $this->plugin_name, 10, $this->plugin_slug, array(&$this, "menu"));

    in

    $this->plugin_page = add_submenu_page("tools.php", $this->plugin_name, $this->plugin_name, 10, $this->plugin_slug, array(&$this, "menu"));

    That's all

    regards
    GF

  3. bdconnolly
    Member
    Posted 3 years ago #

    grazie.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic