8889841cadmin-apps-page.php 0000644 00000013611 15051523043 0010220 0 ustar 00
register( static::PAGE_ID, new Admin_Menu_Apps() ); }, 115 ); add_action( 'elementor/admin/menu/after_register', function ( Admin_Menu_Manager $admin_menu, array $hooks ) { if ( ! empty( $hooks[ static::PAGE_ID ] ) ) { add_action( "admin_print_scripts-{$hooks[ static::PAGE_ID ]}", [ $this, 'enqueue_assets' ] ); } }, 10, 2 ); add_filter( 'elementor/finder/categories', function( array $categories ) { $categories['site']['items']['apps'] = [ 'title' => esc_html__( 'Apps', 'elementor' ), 'url' => admin_url( 'admin.php?page=' . static::PAGE_ID ), 'icon' => 'apps', 'keywords' => [ 'apps', 'addon', 'plugin', 'extension', 'integration' ], ]; return $categories; } ); } public function enqueue_assets() { add_filter( 'admin_body_class', [ $this, 'body_status_classes' ] ); wp_enqueue_style( 'elementor-apps', $this->get_css_assets_url( 'modules/apps/admin' ), [], ELEMENTOR_VERSION ); } public function body_status_classes( $admin_body_classes ) { $admin_body_classes .= ' elementor-apps-page'; return $admin_body_classes; } } admin-pointer.php 0000644 00000003652 15051523043 0010027 0 ustar 00 ' . esc_html__( 'New! Popular Apps', 'elementor' ) . ''; $pointer_content .= '' . esc_html__( 'Discover our collection of plugins and add-ons carefully selected to enhance your Elementor website and unleash your creativity.', 'elementor' ) . '
'; $pointer_content .= sprintf( '', admin_url( 'admin.php?page=' . Module::PAGE_ID ), esc_html__( 'Explore Apps', 'elementor' ) ) ?> =' ); } } admin-menu-apps.php 0000644 00000001250 15051523043 0010244 0 ustar 00