🚀 Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
mnt
/
web613
/
c2
/
38
/
570372438
/
htdocs
/
STRATO-apps
/
wordpress_02
/
app
/
wp-content
/
plugins
/
elementor
/
modules
/
atomic-widgets
/
prop-types
/
concerns
✏️
Editing: has-meta.php
<?php namespace Elementor\Modules\AtomicWidgets\PropTypes\Concerns; use Elementor\Modules\AtomicWidgets\PropTypes\Contracts\Prop_Type; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } trait Has_Meta { protected array $meta = []; /** * @param $key * @param $value * * @return $this */ public function meta( $key, $value = null ) { $is_tuple = is_array( $key ) && 2 === count( $key ); if ( $is_tuple ) { [ $key, $value ] = $key; } $this->meta[ $key ] = $value; return $this; } public function get_meta(): array { return $this->meta; } public function description( string $description ): self { $this->meta['description'] = $description; return $this; } public function get_meta_item( $key, $default_value = null ) { return array_key_exists( $key, $this->meta ) ? $this->meta[ $key ] : $default_value; } }
💾 Save Changes
❌ Cancel