This file contains hidden or 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
| <?php | |
| add_action( 'coursepress_email_sent-enrollment_confirm', function( $args, $result ){ | |
| $course_id = $args['course_id']; | |
| $send_to = array( get_option('admin_email') ); | |
| $course_title = get_the_title( $course_id ); | |
| $course_instructors = array(); | |
| $instructors = (array) CoursePress_Data_Course::get_setting( $course_id, 'instructors', array() ); | |
| $instructors = array_filter( $instructors ); |
This file contains hidden or 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
| <?php | |
| add_action( 'wp_head', function(){ | |
| global $wp_filter, $post; | |
| if( ! class_exists( 'MS_Model_Pages' ) || $post->post_name != MS_Model_Pages::MS_PAGE_ACCOUNT || ! isset( $_GET['action'] ) || $_GET['action'] != 'rp' ){ | |
| return; | |
| } | |
| // Originally uses the_content filter in MS_Controller_Frontend::user_account_manager() | |
| // Lets unset it so it displays the login's shortcode MS_View_Shortcode_Login::to_html() |
This file contains hidden or 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
| <?php | |
| /** | |
| * Plugin Name: Add coupon price of appointments in gcal | |
| * Version: 1.2.0 | |
| * Description: Adds the coupon price of appointments in gcal description | |
| * Author: Panos Lyrakis (WPMU DEV) | |
| * Author URI: https://premium.wpmudev.org/profile/panoskatws | |
| * Plugin URI: https://premium.wpmudev.org/project/appointments-plus/ | |
| * License: GPL2 | |
| * License URI: https://www.gnu.org/licenses/gpl-2.0.html |
This file contains hidden or 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
| <?php | |
| /** | |
| * Plugin Name: Custom courses list for CoursePress Pro | |
| * Version: 1.0 | |
| * Description: Provides a shortcode that outputs a custom list of courses | |
| * Author: Panos Lyrakis (WPMU DEV) | |
| * Author URI: http://premium.wpmudev.org | |
| * Plugin URI: http://premium.wpmudev.org/project/coursepress/ | |
| * License: GPL2 | |
| * License URI: https://www.gnu.org/licenses/gpl-2.0.html |
This file contains hidden or 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
| <?php | |
| /* | |
| Plugin Name: Appointments+ Cancel Link | |
| Description: Adds a cancel link in notifications. *Please read the instructions in plugin file before usage | |
| Plugin URI: http://premium.wpmudev.org/ | |
| Version: 1.0.0 | |
| Author: Panos Lyrakis | |
| Author URI: https://premium.wpmudev.org/profile/panoskatws | |
| */ |
This file contains hidden or 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
| <?php | |
| /* | |
| Plugin Name: Appointments+ History | |
| Description: Moves latest completed and removed appointments to a history table in db so the appointments table is lighter | |
| Plugin URI: https://gist.github.com/panoslyrakis/5b7f6d488f4f11701e01ac3ebf1226b9 | |
| Version: 1.0.0 | |
| Author: Panos Lyrakis ( WPMUDEV ) | |
| Author URI: https://premium.wpmudev.org/profile/panoskatws | |
| */ |
This file contains hidden or 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
| <?php | |
| /* | |
| Plugin Name: WPMUDEV MP - Custom Products List | |
| Plugin URI: http://premium.wpmudev.org/ | |
| Description: Provides a shortcode for custom product listing | |
| Version: 1.0.0 | |
| Author: Panos Lyrakis (WPMUDEV) | |
| Author URI: http://premium.wpmudev.org | |
| License: GNU General Public License (Version 2 - GPLv2) | |
| */ |
This file contains hidden or 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
| <?php | |
| /* | |
| Description: Copy file in mu-plugins folder. To be used with Appointments+ plugin. It accepts argument "date" and returns appointments for that date.The date arg should be in "Y-m-d" format. | |
| */ | |
| if( ! function_exists( 'appointments_get_appointments_for_day' ) ){ | |
| function appointments_get_appointments_for_day( $args = array() ) { | |
| if( ! class_exists( 'Appointments' ) ){ |
This file contains hidden or 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
| <?php | |
| /* | |
| Plugin Name: WPMU MP - Show weight interval | |
| Plugin URI: http://premium.wpmudev.org/ | |
| Description: Show weight interval in cart | |
| Version: 1.0.0 | |
| Author: Panos Lyrakis (WPMUDEV) | |
| Author URI: http://premium.wpmudev.org | |
| License: GNU General Public License (Version 2 - GPLv2) | |
| */ |