PHP 8.2.31
Preview: ComponentTrait.php Size: 717 B
/home/nshryvcy/himaltourism.com/wp-content/plugins/woocommerce/src/Internal/Admin/ProductForm/ComponentTrait.php

<?php
/**
 * Product Form Traits
 */

namespace Automattic\WooCommerce\Internal\Admin\ProductForm;

defined( 'ABSPATH' ) || exit;

/**
 * ComponentTrait class.
 */
trait ComponentTrait {
	/**
	 * Component ID.
	 *
	 * @var string
	 */
	protected $id;

	/**
	 * Plugin ID.
	 *
	 * @var string
	 */
	protected $plugin_id;

	/**
	 * Product form component location.
	 *
	 * @var string
	 */
	protected $location;

	/**
	 * Product form component order.
	 *
	 * @var number
	 */
	protected $order;

	/**
	 * Return id.
	 *
	 * @return string
	 */
	public function get_id() {
		return $this->id;
	}

	/**
	 * Return plugin id.
	 *
	 * @return string
	 */
	public function get_plugin_id() {
		return $this->plugin_id;
	}
}

Directory Contents

Dirs: 0 × Files: 7

Name Size Perms Modified Actions
2.85 KB lrw-r--r-- 2026-03-03 06:10:19
Edit Download
717 B lrw-r--r-- 2026-03-03 06:10:19
Edit Download
1.27 KB lrw-r--r-- 2026-03-03 06:10:19
Edit Download
7.31 KB lrw-r--r-- 2026-03-03 06:10:19
Edit Download
1.15 KB lrw-r--r-- 2026-03-03 06:10:19
Edit Download
196 B lrw-r--r-- 2026-03-03 06:10:19
Edit Download
1.21 KB lrw-r--r-- 2026-03-03 06:10:19
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).