Skip to content

Commit 0c99a0a

Browse files
authored
🩹 Add properties for plugin URI and path in Field class (#72)
1 parent e93cb5e commit 0c99a0a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/Field.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,20 @@ class Field extends \acf_field
1919
'return_format' => 'slug',
2020
];
2121

22+
/**
23+
* Holds the URI to the plugin.
24+
*
25+
* @var string
26+
*/
27+
protected string $uri = '';
28+
29+
/**
30+
* Holds the path to the plugin.
31+
*
32+
* @var string
33+
*/
34+
protected string $path = '';
35+
2236
/**
2337
* Create a new Field instance.
2438
*/

0 commit comments

Comments
 (0)