Submit
Path:
~
/
home
/
getwphos
/
public_html
/
BenjaminMarc2023
/
wp-content
/
plugins
/
xt-woo-quick-view-lite
/
public
/
File Content:
class-woocommerce.php
<?php class XT_Woo_Quick_View_Woocommerce{ function __construct() { add_filter('woocommerce_short_description', array($this, 'woocommerce_short_description'), 10, 1); } // define the woocommerce_short_description callback function woocommerce_short_description( $post_post_excerpt ) { global $post; $auto_generate_description = xt_wooqv_option_bool('auto_generate_description', false); if($auto_generate_description && is_single() && ($post->post_type === 'product') && empty($post_post_excerpt)) { $post_post_excerpt = wp_trim_words( strip_tags($post->post_content), 55, null ); } return $post_post_excerpt; } } new XT_Woo_Quick_View_Woocommerce;
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
assets
---
0755
templates
---
0755
class-ajax.php
1624 bytes
0644
class-public.php
28619 bytes
0644
class-woocommerce.php
737 bytes
0644
functions-global.php
4965 bytes
0644
index.php
26 bytes
0644
N4ST4R_ID | Naxtarrr