承接 arraypress/wp-register-flyouts 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

arraypress/wp-register-flyouts

Composer 安装命令:

composer require arraypress/wp-register-flyouts

包简介

Lightweight flyout panels for WordPress admin interfaces

README 文档

README

A WordPress library for creating slide-out panels with forms, data displays, and interactive components. Perfect for admin interfaces, edit screens, and anywhere you need contextual editing without page reloads.

Installation

composer require arraypress/wp-register-flyouts

Quick Start

register_flyout( 'shop_edit_product', [
    'title'  => 'Edit Product',
    'fields' => [
        'name'  => [ 'type' => 'text', 'label' => 'Product Name' ],
        'price' => [ 'type' => 'number', 'label' => 'Price', 'min' => 0, 'step' => 0.01 ],
    ],
    'load' => fn( $id ) => get_post( $id ),
    'save' => fn( $id, $data ) => wp_update_post( [ 'ID' => $id, 'post_title' => $data['name'] ] ),
] );

render_flyout_button( 'shop_edit_product', [ 'id' => $product_id, 'text' => 'Edit' ] );

Documentation

Full documentation is available at https://arraypress.github.io/wp-register-flyouts

Requirements

  • PHP 7.4+
  • WordPress 5.8+

License

GPL-2.0-or-later

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-11-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固