SILENT KILLERPanel

Current Path: > home > codekrsu > > cuddlebuds.lk > wp-content > plugins > woocommerce > src > Internal > Admin > ProductForm


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//cuddlebuds.lk/wp-content/plugins/woocommerce/src/Internal/Admin/ProductForm

NameTypeSizeLast ModifiedActions
Component.php File 2946 bytes January 30 2024 23:24:56.
ComponentTrait.php File 717 bytes January 25 2023 03:19:12.
Field.php File 1298 bytes February 22 2023 07:17:34.
FormFactory.php File 7486 bytes February 22 2023 07:17:34.
Section.php File 1180 bytes February 22 2023 07:17:34.
Subsection.php File 196 bytes January 25 2023 03:19:12.
Tab.php File 1234 bytes February 22 2023 07:17:34.

Reading File: /home/codekrsu//cuddlebuds.lk/wp-content/plugins/woocommerce/src/Internal/Admin/ProductForm/Tab.php

<?php
/**
 * Handles product form tab related methods.
 */

namespace Automattic\WooCommerce\Internal\Admin\ProductForm;

/**
 * Field class.
 */
class Tab extends Component {

	/**
	 * Constructor
	 *
	 * @param string $id Field id.
	 * @param string $plugin_id Plugin id.
	 * @param array  $additional_args Array containing the necessary arguments.
	 *     $args = array(
	 *       'name'            => (string) Tab name. Required.
	 *       'title'         => (string) Tab title. Required.
	 *       'order'           => (int) Tab order.
	 *       'properties'      => (array) Tab properties.
	 *     ).
	 * @throws \Exception If there are missing arguments.
	 */
	public function __construct( $id, $plugin_id, $additional_args ) {
		parent::__construct( $id, $plugin_id, $additional_args );

		$this->required_arguments = array(
			'name',
			'title',
		);

		$missing_arguments = self::get_missing_arguments( $additional_args );
		if ( count( $missing_arguments ) > 0 ) {
			throw new \Exception(
				sprintf(
				/* translators: 1: Missing arguments list. */
					esc_html__( 'You are missing required arguments of WooCommerce ProductForm Tab: %1$s', 'woocommerce' ),
					join( ', ', $missing_arguments )
				)
			);
		}
	}

}

SILENT KILLER Tool