Prv8 Shell
Server : Apache
System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : matalashes ( 1004)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /home/matalashes/www/wp-content/themes/hello-elementor/modules/admin-home/components/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/matalashes/www/wp-content/themes/hello-elementor/modules/admin-home/components/finder.php
<?php

namespace HelloTheme\Modules\AdminHome\Components;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class Finder {

	public function add_hello_theme_finder_entry( $categories_data ) {
		if ( isset( $categories_data['site'] ) && isset( $categories_data['site']['items'] ) ) {
			$categories_data['site']['items']['hello-elementor-home'] = [
				'title' => esc_html__( 'Hello Theme Home', 'hello-elementor' ),
				'icon' => 'paint-brush',
				'url' => admin_url( 'admin.php?page=hello-elementor' ),
				'keywords' => [ 'theme', 'hello', 'home', 'plus', '+' ],
			];
		}

		return $categories_data;
	}

	public function __construct() {
		add_filter( 'elementor/finder/categories', [ $this, 'add_hello_theme_finder_entry' ] );
	}
}

haha - 2025