Skip to content
View rashedripon's full-sized avatar

Block or report rashedripon

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Show "Be the first to review" when n... Show "Be the first to review" when no reviews are available
    1
    <?php
    2
    /**
    3
     * Single Product Rating
    4
     *
    5
     * This template can be overridden by copying it to yourtheme/woocommerce/single-product/rating.php.
  2. Remove tabs under Dokan Vendor Dashb... Remove tabs under Dokan Vendor Dashboard > Booking
    1
    <?php
    2
     
    3
    //Remove resources tab under Vendor Dashboard > Booking menu
    4
    add_filter('dokan_booking_nav_titles', function ($bookings) {
    5
     unset($bookings['resources']);
  3. Remove "Become a vendor" button from... Remove "Become a vendor" button from customers account
    1
    <?php
    2
     
    3
    // Remove "Become a vendor" button from customers account
    4
    if(class_exists('Dokan_Pro')) {
    5
    remove_action( 'woocommerce_after_my_account', array( Dokan_Pro::init(), 'dokan_account_migration_button' ) );
  4. Dokan store open-close in single pro... Dokan store open-close in single product page
    1
    <?php
    2
     
    3
    //Remove the <?php while using it in your theme's functions.php file
    4
     
    5