public_html/wp-content/plugins/wp-statistics/wp-statistics.php
// Add a WordPress plugin page and rating links to the meta information to the plugin list.
Add a WordPress plugin page and rating links to the meta information to the plugin list.
Add a WordPress plugin page and rating links to the meta information to the plugin list .
function wp_statistics_add_meta_links($links, $file) {
		if( $file == plugin_basename(__FILE__) ) {
			$plugin_url = 'http://wordpress.org/plugins/wp-statistics/';
			$links[] = '<a href="'. $plugin_url .'" target="_blank" title="'. __('Click here to visit the plugin on WordPress.org', 'wp_statistics') .'">'. __('Visit WordPress.org page', 'wp_statistics') .'</a>';
			$rate_url = 'http://wordpress.org/support/view/plugin-reviews/wp-statistics?rate=5#postform';
			$links[] = '<a href="'. $rate_url .'" target="_blank" title="'. __('Click here to rate and review this plugin on WordPress.org', 'wp_statistics') .'">'. __('Rate this plugin', 'wp_statistics') .'</a>';
		}
		return $links;
	}
function wp_statistics_add_meta_links ( $ links , $ file ) { if ( $ file == plugin_basename ( __FILE__ ) ) { $ plugin_url = 'http://wordpress.org/plugins/wp-statistics/' ; $ links [ ] = '<a href="' . $ plugin_url . '" target="_blank" title="' . __ ( 'Click here to visit the plugin on WordPress.org' , 'wp_statistics' ) . '">' . __ ( 'Visit WordPress.org page' , 'wp_statistics' ) . '</a>' ; $ rate_url = 'http://wordpress.org/support/view/plugin-reviews/wp-statistics?rate=5#postform' ; $ links [ ] = '<a href="' . $ rate_url . '" target="_blank" title="' . __ ( 'Click here to rate and review this plugin on WordPress.org' , 'wp_statistics' ) . '">' . __ ( 'Rate this plugin' , 'wp_statistics' ) . '</a>' ; } return $ links ; }
Add a WordPress plugin page and rating links to the meta information to the plugin list.
Add a WordPress plugin page and rating links to the meta information to the plugin list .