Tidy up plugin action links

This commit is contained in:
Brian Miyaji
2014-01-29 18:25:57 +11:00
parent f2c2e7c107
commit 05d1cf5fa5

View File

@@ -1,10 +1,10 @@
<?php
function sportspress_plugin_action_links( $links ) {
$settings_link = '<a href="options-general.php?page=sportspress">' . __( 'Settings', 'sportspress' ) . '</a>';
$docs_link = '<a href="http://docs.themeboy.com/sportspress" target="_blank">' . __( 'Docs', 'sportspress' ) . '</a>';
$themes_link = '<a href="http://themeboy.com/themes?plugin=sportspress" target="_blank">' . __( 'Themes', 'sportspress' ) . '</a>';
// $docs_link = '<a href="http://docs.themeboy.com/sportspress" target="_blank">' . __( 'Docs', 'sportspress' ) . '</a>';
// $themes_link = '<a href="http://themeboy.com/themes?plugin=sportspress" target="_blank">' . __( 'Themes', 'sportspress' ) . '</a>';
array_unshift( $links, $settings_link, $docs_link, $themes_link );
array_push( $links, $settings_link );
return $links;
}