akirk/my-apps
Composer 安装命令:
composer require akirk/my-apps
包简介
A WordPress app launcher
README 文档
README
- Contributors: akirk
- Tags: apps
- Requires at least: 5.0
- Tested up to: 6.8
- License: GPL-2.0-or-later
- Stable tag: 1.0.1
A WordPress app launcher.
Description
This plugin adds a /my-apps/ route to your WordPress so that it can act as your personal apps launcher.
You can use your own WordPress as the place where you host apps in form of plugins. It can be hard to launch them since you have to navigate wp-admin. This adds a dashboard like an mobile phone launcher to your WordPress.
Plugin "Apps" can register their own icons but you can add your own links.
Code Example
add_filter( 'my_apps_plugins', function ( $apps ) { // Add your app to the array. These three keys are mandatory: $apps['friends'] = array( // Name: The name that will be displayed. 'name' => __( 'Friends', 'friends' ), // The icon as a URL. You can also use a local URL inside a plugin, using `plugins_url()`. 'icon_url' => 'https://ps.w.org/friends/assets/icon-256x256.png', // The URL this should link to. 'url' => home_url( '/friends/' ), ); return $apps; } );
Screenshots
- The Launcher
- Settings
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-08-01