Done !
| Server IP : 54.36.91.62 / Your IP : 216.73.216.38 Web Server : Apache System : Linux webm008.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : awaywithxm ( 25098) PHP Version : 7.0.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/awaywithxm/www/wp-content/themes/top-1769430984/modules/admin-home/components/ |
Upload File : |
<?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' ] );
}
}