My Apps

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-256×256.png’,
// The URL this should link to.
‘url’ => home_url( ‘/friends/’ ),
);
return $apps;
} );
`

0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录