定制 zngly/wp-graphql-acf-mutations 二次开发

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

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

zngly/wp-graphql-acf-mutations

最新稳定版本:1.1.3

Composer 安装命令:

composer require zngly/wp-graphql-acf-mutations

包简介

ACF Mutations for WP GraphQL

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Zngly - WpGraphql ACF Mutations (Beta)

Wordpress plugin which add mutations to ACF Fields

Note

This plugin is still in active development. It is currently being used internally at Zngly.

Install

https://packagist.org/packages/zngly/wp-graphql-acf-mutations

composer require zngly/wp-graphql-acf-mutations

Usage

Install and Activate plugin

Acf fields should show up in mutations

Specify Graphql Type

If an acf type needs a specific graphql type such as a custom enum then specify "strict_graphql_type" => "MyCustomEnum" in your acf config.

image

Limitations

  • Currently the mutations will not be set for objects nested with more than one child deep.
  • Do not name your acf fields the same name as any of the fields that already exist in the wpgrahql schema. E.g. status, author, id, databaseId...

Zip Install

  1. Download the Latest Release
  2. Extract the contents of the zip file into a folder wp-graphql-acf-mutations
  3. Place the wp-graphql-acf-mutations folder in your wp-content/plugins folder
  4. From wp-content/plugins/wp-graphql-acf-mutations directory run composer install:prod
  5. Activate the plugin

Dev Usage

  • clone the repository

  • make sure you have composer and npm installed on your system

  • make sure you have XAMPP or something similar installed on your system

  • this will install wordpress along with the plugin

  • composer install:dev

  • composer watch

  • goto your wordpress installation in your localhost browser

  • finish the wordpress installation

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 4
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2022-04-19