| @@ -3,15 +3,15 @@ | ||
| 3 | 3 | class WPUPG_Plugin_Action_Link { |
| 4 | 4 | |
| 5 | 5 | public function __construct() |
| 6 | 6 | { |
| 7 | - add_filter( 'plugin_action_links_' . WPUltimatePostGrid::get()->corePath . '/wp-ultimate-post-grid.php', array( $this, 'action_links' ) ); | |
| 7 | + add_filter( 'plugin_action_links_wp-ultimate-post-grid/wp-ultimate-post-grid.php', array( $this, 'action_links' ) ); | |
| 8 | 8 | } |
| 9 | 9 | |
| 10 | 10 | public function action_links( $links ) |
| 11 | 11 | { |
| 12 | - $links[] = '<a href="'. get_admin_url( null, 'edit.php?post_type=' . WPUPG_POST_TYPE . '&page=wpupg_admin' ) .'">'.__( 'Settings', 'wp-ultimate-recipe' ).'</a>'; | |
| 12 | + //$links[] = '<a href="'. get_admin_url(null, 'edit.php?post_type=recipe&page=wpupg_admin') .'">'.__( 'Settings', 'wp-ultimate-recipe' ).'</a>'; | |
| 13 | 13 | $links[] = '<a href="http://bootstrapped.ventures" target="_blank">'.__( 'More information', 'wp-ultimate-post-grid' ).'</a>'; |
| 14 | 14 | |
| 15 | 15 | return $links; |
| 16 | 16 | } |
| 17 | 17 | } |