PluginProbe
BugHerd / 1.0.20
BugHerd v1.0.20
1.0.20 1.0.18 1.0.19 1.0.17 trunk 1.0.0 1.0.1 1.0.11 1.0.12 1.0.14 1.0.15 1.0.16 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9
bugherd / bugherd.php

bugherd.php in BugHerd 1.0.20, at bugherd.php

37 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: BugHerd
4 * Plugin URI: https://bugherd.com
5 * Description: BugHerd is the visual feedback tool for websites. For help, go to <a href="http://support.bugherd.com">support.bugherd.com</a>
6 * Author: BugHerd
7 * Author URI: https://bugherd.com
8 * Text Domain: bugherd
9 * Version: 1.0.20
10 * License: GPLv3 or later
11 *
12 * @package BugHerd
13 */
14
15 // If this file is called directly, abort.
16 if ( ! defined( 'WPINC' ) ) {
17 die;
18 }
19
20 /**
21 * Bootstrap
22 *
23 * @since 1.0.0
24 */
25 require_once plugin_dir_path( __FILE__ ) . 'includes/settings.php';
26 require_once plugin_dir_path( __FILE__ ) . 'includes/scripts.php';
27
28 /**
29 * Add a "Settings" link in the Plugins section.
30 */
31 add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'bugherd_add_settings_link' );
32 function bugherd_add_settings_link( $links ) {
33 $settings_link = '<a href="' . esc_url(admin_url('options-general.php?page=bugherd')) . '">' . esc_html__('Settings', 'bugherd') . '</a>';
34 array_unshift( $links, $settings_link ); // Adds it at the beginning of the links
35 return $links;
36 }
37