diff --git a/README.md b/README.md
index c388135..d8ddb29 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,9 @@ You can access the plugin's settings in WordPress by accessing the 'Settings' pa
From this screen you can configure the following:
-- **Webhook URL** - The webhook URL that you have created to trigger a deployment. For more information on webhooks with Netlify [visit the Netlify documentation](https://www.netlify.com/docs/webhooks/).
+- **Webhook URL** - The webhook URL that you have created to trigger a deployment. For more information on webhooks with Netlify [visit the Netlify documentation](https://www.netlify.com/docs/webhooks/) or a workflow dispatch in Github Actions [visit Github API documentation](https://docs.github.com/en/rest/reference/actions#create-a-workflow-dispatch-event).
+- **Access Token** - Your Build Hook access token. Needed for Github API authentication. Create a personal access token for your Github account [here](https://github.com/settings/tokens)
+- **Workflow Run Reference** - The reference of a Github workflow run. The reference can be a branch, tag, or a commit SHA.
- **Webhook Method** - This is the required method for the webhook request. The available options are `GET` or `POST`. By default the plugin will automatically select `POST`.
- **Badge Image URL** - An optional field to specify the `src` of a badge, for services that support badges.
- **Badge Link** - An optional field to specify the `href` of a badge, for services that support badges.
diff --git a/src/Field.php b/src/Field.php
index cd89493..473662c 100644
--- a/src/Field.php
+++ b/src/Field.php
@@ -4,6 +4,28 @@
class Field
{
+ /**
+ * Render an input[type=text] field
+ *
+ * @param array $args
+ * @return void
+ */
+ public static function text($args = [])
+ {
+ self::render_field('text', $args);
+ }
+
+ /**
+ * Render an input[type=password] field
+ *
+ * @param array $args
+ * @return void
+ */
+ public static function password($args = [])
+ {
+ self::render_field('password', $args);
+ }
+
/**
* Render an input[type=url] field
*
@@ -11,11 +33,23 @@ class Field
* @return void
*/
public static function url($args = [])
+ {
+ self::render_field('url', $args);
+ }
+
+ /**
+ * Render an input[type=url] field
+ *
+ * @param string $type
+ * @param array $args
+ * @return void
+ */
+ private static function render_field($type, $args = [])
{
?>