Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /var/www/theprintave/wp-content/plugins/dokan-lite/includes/ThemeSupport/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/theprintave/wp-content/plugins/dokan-lite/includes/ThemeSupport/TwentyTwenty.php
<?php

namespace WeDevs\Dokan\ThemeSupport;

/**
 * Twenty Twenty Theme Support
 *
 * @since 3.1
 */
class TwentyTwenty {

    /**
     * The constructor
     */
    public function __construct() {
        add_filter( 'body_class', [ $this, 'add_wc_class' ] );
    }

    /**
     * Makes the store page full width
     *
     * @param  array $classes
     *
     * @return array
     */
    public function add_wc_class( $classes ) {
        if ( dokan_is_store_page() ) {
            if ( ! in_array( 'woocommerce', $classes, true ) ) {
                $classes[] = 'woocommerce';
            }
        }

        return $classes;
    }
}

Spamworldpro Mini