HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/xedaptot/public_html/wp-content/plugins/tokoo-extensions/includes/functions.php
<?php

// Redux Framework
function tk_ext_remove_demo_mode_link() {
    if ( class_exists('ReduxFrameworkPlugin') ) {
        remove_filter( 'plugin_row_meta', array( ReduxFrameworkPlugin::get_instance(), 'plugin_metalinks'), null, 2 );
    }
}

add_action( 'init', 'tk_ext_remove_demo_mode_link' );

// Jetpack
function tokoo_jetpack_remove_share() {

    remove_filter( 'the_content', 'sharing_display', 19 );
    remove_filter( 'the_excerpt', 'sharing_display', 19 );
    
    if ( class_exists( 'Jetpack_Likes' ) ) {
        remove_filter( 'the_content', array( Jetpack_Likes::init(), 'post_likes' ), 30, 1 );
    }
}
 
add_action( 'loop_start', 'tokoo_jetpack_remove_share' );

// WooCommerce
remove_filter( 'woocommerce_product_loop_start', 'woocommerce_maybe_show_product_subcategories' );
require_once TOKOO_EXTENSIONS_DIR . '/includes/class-tokoo-shortcode-products.php';
require_once TOKOO_EXTENSIONS_DIR . '/includes/class-tokoo-products.php';

// Metabox
function tokoo_admin_meta_boxes_init() {
    include_once TOKOO_EXTENSIONS_DIR . '/includes/class-tokoo-admin-meta-boxes.php';
}

add_action( 'init', 'tokoo_admin_meta_boxes_init' );