Skip to content

Instantly share code, notes, and snippets.

View bappi-d-great's full-sized avatar

Bappi D great bappi-d-great

View GitHub Profile
@bappi-d-great
bappi-d-great / wpmudev-coursepress-completion-email.php
Last active September 6, 2019 06:07 — forked from wpmudev-sls/wpmudev-coursepress-completion-email.php
[ CoursePress 2 ] - Email Notifications on Completion. Sends an email notification to the Student upon Course Completion
<?php
/**
* Plugin Name: [ CoursePress 2 ] - Email Notifications on Completion
* Plugin URI: https://premium.wpmudev.org/
* Description: Sends an email notification to the Student upon Course Completion
* Author: Alessandro Kaounas @ WPMUDEV
* Author URI: https://premium.wpmudev.org/
* License: GPLv2 or later
*/
@bappi-d-great
bappi-d-great / Override Default Form.php
Last active June 28, 2017 18:20 — forked from JudeRosario/Override Default Form.php
M2 + Gravity Forms Registration
add_filter('ms_frontend_custom_registration_form','gravity_register_form') ;
function gravity_register_form($form) {
if(!is_user_logged_in())
return do_shortcode('[gravityform id =1]');
return $form ;
}