🏆
Dev
Senior Web Application Developer
-
https://nayeemch.github.io/
- Bangladesh
- https://nayeemch.github.io/
Block or Report
Block or report nayeemch
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
Advanced Course Filter
Advanced Course Filter 1<?php /* Template Name: Tutor Advanced Course Filter */?>
23<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css">
4<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css">
5<style>
-
This code will help you to change ba...
This code will help you to change base slug `courses` to your preferred slug, replace `example-course-slug` with your own slug. 12add_filter('tutor_courses_base_slug', 'change_tutor_course_slug');
3/**
4* @param $slug
5* @return string
-
Change Primary/Main author
Change Primary/Main author 1function tutor_primary_author() {
2if ( function_exists('tutor')) {
3$tutor_post_type = tutor()->course_post_type;
4add_post_type_support( $tutor_post_type, 'author' );
5}
-
Automatically approve Tutor LMS inst...
Automatically approve Tutor LMS instructor right after register. No manual approval required. 1/**
2* Required Tutor LMS v.1.6.0
3*/
45add_action('tutor_new_instructor_after', 'approve_new_instructor_immediately');
-
Right sidebar to left in single cour...
Right sidebar to left in single course view 1<?php
2/**
3* Template for displaying single course
4*
5* @since v.1.0.0
-
autocomplete WooCommerce orders
autocomplete WooCommerce orders 1/**
2* Auto Complete WooCommerce orders.
3*/
4add_action( 'woocommerce_thankyou', 'custom_woocommerce_auto_complete_order' );
5function custom_woocommerce_auto_complete_order( $order_id ) {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.