Skip to content

Commit

Permalink
update plugin links
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlymarvin committed May 14, 2018
1 parent 4dc17c0 commit 884d7c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bites4wp.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: Bites4WP
* Plugin URI: http://bites4wp.memphismckay.com
* Description: Book+Main Bites Profile Link Plugin for WordPress
* Version: 1.0.1
* Version: 1.0.2
* Author: Memphis McKay
* Author URI: https://memphismckay.com
* License: GPL-2.0+
Expand Down Expand Up @@ -39,7 +39,7 @@
die;
}

define( 'BITES4WP_CURRENT_VERSION', '1.0.1' );
define( 'BITES4WP_CURRENT_VERSION', '1.0.2' );
define( 'BITES4WP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'BITES4WP_PLUGIN_URL', plugin_dir_url(__FILE__) );
define( 'BITES4WP_PLUGIN_BASENAME', plugin_basename(__FILE__) );
Expand Down
6 changes: 4 additions & 2 deletions lib/bites4wp-setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
add_filter( 'plugin_action_links_' . BITES4WP_PLUGIN_BASENAME, 'bites4wp_action_links' );

function bites4wp_action_links( $links ) {
$donate_url = 'https://www.paypal.com/cgi-bin/webscr?cmd=_donations&[email protected]&lc=US&item_name=Book+and+Main+Bites+Plugin&no_shipping=2&curency_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted';
$donate_url = 'https://www.paypal.com/cgi-bin/webscr?cmd=_donations&[email protected]&lc=US&item_name=Bites4WP&no_shipping=2&curency_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted';

$documentation_url = 'http://bites4wp.memphismckay.com';
$setup_url = admin_url( '/customize.php?autofocus[panel]=bites4wp_panel' );

$links[] = '<a href="'. esc_url( $documentation_url ) . '" target="_blank">' . __( 'Read Directions, Instructions, and Cautionary Tales', 'bites4wp') . '</a>';
$links[] = '<a href="' . esc_url( $setup_url ) . '">' . __( 'Settings', 'bites4wp' ) . '</a>';
$links[] = '<a href="'. esc_url( $documentation_url ) . '" target="_blank">' . __( 'Support', 'bites4wp') . '</a>';
$links[] = '<br/><b><a href="'. esc_url( $donate_url ) . '" target="_blank">' . __( 'Find this plugin useful? Buy me a cup of coffee!', 'bites4wp' ) . '</a></b>';

return $links;
Expand Down

0 comments on commit 884d7c6

Please sign in to comment.