Skip to content

Instantly share code, notes, and snippets.


Vishal Kothari ashokrane

View GitHub Profile
davekiss / gist:e2b5beb37b3a1a93a3dddcf43ce51ce9
Created Sep 18, 2018
Display notice in EDD if email already exists and not logged in
View gist:e2b5beb37b3a1a93a3dddcf43ce51ce9
* Redirect the user to the appropriate page upon login.
add_filter( 'login_redirect', function( $url, $query, $user ) {
if ( is_wp_error( $user ) ) {
return $url;
if ( current_user_can('administrator') ) {
return $url;
View edd-webhook-handler.php
Plugin Name: EDD Webhooks
Description: Captures new sale notifications from 3rd party service and adds to Easy Digital Downloads
Version: 1.0
Author: Brian Hogg
Author URI:
Text Domain: edd-webhooks
License: GPL2
bmcbride /
Last active Jun 12, 2020
Create a new GitHub Issue from a Google Form submission

Wiring up a Google Form to GitHub is not that difficult with a little bit of Apps Script automation. All you need is a Google account, a GitHub account, and a web browser...

Set up your GitHub Personal Access Token

Personal access tokens provide an easy way to interact with the GitHub API without having to mess with OAuth. If you don't already have a personal access token with repo or public_repo access, visit your GitHub settings page and generate a new token.

Be sure to copy your token some place safe and keep it secure. Once generated, you will not be able to view or copy the token again.

Set up the Form & Spreadsheet

  1. Create a Google Form.
You can’t perform that action at this time.