| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/elementor-pro/core/connect/ |
Upload File : |
<?php
namespace ElementorPro\Core\Connect;
use ElementorPro\Core\Connect\Apps\Activate;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
class Manager {
/**
* @param \Elementor\Core\Common\Modules\Connect\Module $apps_manager
*/
public function register_apps( $apps_manager ) {
$apps = [
'activate' => Activate::get_class_name(),
];
foreach ( $apps as $slug => $class ) {
$apps_manager->register_app( $slug, $class );
}
}
public function __construct() {
add_action( 'elementor/connect/apps/register', [ $this, 'register_apps' ] );
}
}