-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from kerkness/next
next release
- Loading branch information
Showing
7 changed files
with
122 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,33 @@ | ||
{ | ||
"name": "kerkness/wc-slack", | ||
"description": "Integrates WooCommerce and Slack.", | ||
"keywords": ["wordpress", "plugin", "woocommerce", "slack"], | ||
"homepage": "https://kerkness.ca", | ||
"license": "GNU", | ||
"authors": [ | ||
{ | ||
"name": "kerkness", | ||
"email": "[email protected]", | ||
"homepage": "https://kerkness.ca" | ||
} | ||
], | ||
"type": "wordpress-plugin", | ||
"require": { | ||
"php": ">=7.1.0", | ||
"composer/installers": "v1.0.6" | ||
}, | ||
"autoload" : { | ||
"psr-4" : { | ||
"WCSlack\\" : "src" | ||
} | ||
}, | ||
"config": { | ||
"vendor-dir": "lib" | ||
"name": "kerkness/wc-slack", | ||
"description": "Integrates WooCommerce and Slack.", | ||
"keywords": [ | ||
"wordpress", | ||
"plugin", | ||
"woocommerce", | ||
"slack" | ||
], | ||
"homepage": "https://kerkness.ca", | ||
"license": "GPL-2.0-or-later", | ||
"authors": [ | ||
{ | ||
"name": "kerkness", | ||
"email": "[email protected]", | ||
"homepage": "https://kerkness.ca" | ||
} | ||
], | ||
"type": "wordpress-plugin", | ||
"require": { | ||
"php": ">=7.1.0", | ||
"composer/installers": "v1.0.6", | ||
"kerkness/kore-wp": "^v1.0.13" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"WCSlack\\": "src" | ||
} | ||
}, | ||
"config": { | ||
"vendor-dir": "lib" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[Template Not Found] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<div class="wrap"> | ||
<h1><?php echo __('WCSlack Settings', 'wc-slack') ?></h1> | ||
|
||
<form method="post" action="options.php"> | ||
<?php settings_fields('wc_slack_settings'); ?> | ||
<?php do_settings_sections('wc_slack_settings'); ?> | ||
<table class="form-table"> | ||
<tr valign="top"> | ||
<th scope="row"><?php echo __('Slack Hook', 'wc-slack') ?></th> | ||
<td> | ||
https://hooks.slack.com/services<br/> | ||
<input type="text" name="wc_slack_post_hook" value="<?php echo esc_attr(get_option('wc_slack_post_hook')); ?>" /></td> | ||
</tr> | ||
<tr valign="top"> | ||
<th scope="row"><?php echo __('Default Channel', 'wc-slack') ?></th> | ||
<td> | ||
<input type="text" name="wc_slack_default_channel" value="<?php echo esc_attr(get_option('wc_slack_default_channel')); ?>" /><br/> | ||
* Note you have to configure your slack webhook to have permissions for multiple channels. | ||
</td> | ||
</tr> | ||
|
||
</table> | ||
|
||
<?php submit_button(); ?> | ||
|
||
</form> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters