定制 akirk/my-apps 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  1. The Launcher
  2. Settings

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2024-08-01