Skip to content

Commit cbe85f2

Browse files
author
Mike van den Hoek
committed
(refactor): gf-addon title and icon
1 parent 1c9e4e3 commit cbe85f2

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

src/PrefillGravityForms/GravityForms/GravityFormsAddon.php

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ class GravityFormsAddon extends GFAddOn
1919
*
2020
* @var string
2121
*/
22-
protected $_title = 'iConnect';
22+
protected $_title = 'OWC Prefill';
2323

2424
/**
2525
* The short title of the Add-On to be used in limited spaces.
2626
*
2727
* @var string
2828
*/
29-
protected $_short_title = 'iConnect';
29+
protected $_short_title = 'OWC Prefill';
3030

3131
/**
3232
* Instance object
@@ -47,6 +47,17 @@ public static function get_instance(): self
4747
return self::$_instance;
4848
}
4949

50+
/**
51+
* Return the plugin's icon for the plugin/form settings menu.
52+
*
53+
* @since 2.5
54+
*
55+
* @return string
56+
*/
57+
public function get_menu_icon()
58+
{
59+
return 'dashicons-admin-tools';
60+
}
5061

5162
/**
5263
* Configures the settings which should be rendered on the Form Settings > Simple Add-On tab.

0 commit comments

Comments
 (0)