Giter Site home page Giter Site logo

codebradley / contact-form-7-rest-api Goto Github PK

View Code? Open in Web Editor NEW
10.0 4.0 2.0 21 KB

Contact Form 7 endpoints for the WP REST API v2

Home Page: https://github.com/CodeBradley/contact-form-7-rest-api

License: GNU General Public License v3.0

PHP 100.00%
contact-form-7 wp-rest-api wordpress-plugin wordpress-api wordpress php

contact-form-7-rest-api's Introduction

Deprecated:

Important Note: Endpoints are now included with the Contact Form 7 plugin as of version 4.7. I only recommend working with this code if you are using an older version of Contact Form 7.

Here's the changelog: https://contactform7.com/2017/03/03/contact-form-7-47/ Here's the code: https://github.com/ohze/wp-contact-form-7/blob/master/includes/rest-api.php


Contact Form 7 REST API Endpoints

Contact Form 7 endpoints for the WP REST API v2

Get All Forms:

GET /wp-json/wpcf7/v1/forms

Get Single Form:

GET /wp-json/wpcf7/v1/forms/(?P<id>[\d]+)

Create Form:

POST /wp-json/wpcf7/v1/forms

Update Form:

PUT /wp-json/wpcf7/v1/forms/(?P<id>[\d]+)
PATCH /wp-json/wpcf7/v1/forms/(?P<id>[\d]+)

Delete Form:

TODO

contact-form-7-rest-api's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

contact-form-7-rest-api's Issues

I saw the api everywhere

Hello,

I saw the script like this /wp-json/contact-form-7/v1/contact-forms/11922/refill every page. I just want to disable it except for contact and subscription page. How can i do that? I'm using WooCommerce.

Thank

Plugin Usage

Is It Ready To Use This Plugin If Yes Please Let Me Know How It Works
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.