Tidy up plugin action links
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user