PHPackages                             dannyvanholten/acf-gravityforms-add-on - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. dannyvanholten/acf-gravityforms-add-on

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

dannyvanholten/acf-gravityforms-add-on
======================================

Advanced Custom Fields: Gravity Forms Add-on

1.3.5(3y ago)7943.0k↓25%34[1 PRs](https://github.com/DannyvanHolten/acf-gravityforms-add-on/pulls)GPL-3.0+PHPPHP &gt;=5.6.4

Since Apr 4Pushed 3y ago3 watchersCompare

[ Source](https://github.com/DannyvanHolten/acf-gravityforms-add-on)[ Packagist](https://packagist.org/packages/dannyvanholten/acf-gravityforms-add-on)[ RSS](/packages/dannyvanholten-acf-gravityforms-add-on/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (23)Used By (0)

Advanced Custom Fields Gravity Forms Add-on
===========================================

[](#advanced-custom-fields-gravity-forms-add-on)

Provides an Advanced Custom Field which allows a WordPress editorial user or administrator to select a Gravity Form as part of a field group configuration.

Getting started
---------------

[](#getting-started)

The plugin is primarily available from the [WordPress plugin repository](http://www.wordpress.org/plugins/acf-gravityforms-add-on). It allows you to choose a Gravity Form in WordPress Admin and use the selected form ID in your Theme or Plugin to output the form.

**This plugin does not have any effect on the output of the website**. It adds a [custom ACF field type](https://www.advancedcustomfields.com/resources/creating-a-new-field-type/) for use in an [ACF field group](https://www.advancedcustomfields.com/resources/creating-a-field-group/).

Installation and usage
----------------------

[](#installation-and-usage)

1. Upload the plugin files to the `/wp-content/plugins/acf-gravityforms-add-on` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Add a new field of type 'Forms' to the required ACF field group.

You can also install *Advanced Custom Fields: Gravity Forms Add-on* using Composer.

`composer require dannyvanholten/acf-gravityforms-add-on`

…or if you make use of WPackagist, …

`composer require wpackagist-plugin/acf-gravityforms-add-on`

Using Advanced Custom Fields: Gravity Forms Add-on
--------------------------------------------------

[](#using-advanced-custom-fields-gravity-forms-add-on)

To use the the field you just need to know how Advanced Custom Fields work. You can check out [their documentation](https://www.advancedcustomfields.com/resources/).

The Gravity Forms Add-on returns either an single form object / ID or an array of objects / IDs. Now we know that we can easily use it to build our fields :)

### Output of the form in the frontend

[](#output-of-the-form-in-the-frontend)

This plugin doesn't integrate any code to the frontend of the website. You will need to ensure that your own Plugin or Theme handles the output of the form. An example of how do do this is detailed in [this blog post](https://www.gravityforms.com/blog/embed-forms-using-code/) on the Gravity Forms website.

#### Getting the form ID

[](#getting-the-form-id)

Please refer to the documentation for the ACF method `get_field` for full details of how to use it.

If you return an ID from your ACF field configuration:

```
$form_id = get_field('my-form');
gravity_form($form_id);
```

If you return an object/array from your ACF field configuration:

```
$form = get_field('my-form');
gravity_form($form['id']);
```

If you return multiple Form IDs from your ACF field configuration:

```
$form_ids = get_field('my-form');

foreach($form_ids as $form_id) {
    gravity_form($form_id);
}
```

#### Filtering the field HTML

[](#filtering-the-field-html)

Version 1.3.4 added a plain HTML filter to the output of the field. This filter is not applied to fields in ACF version 4.

```
apply_filters('acf-gravityforms-add-on/field_html', string $field_html, array $field, string $field_options, string $multiple)
```

Getting involved
----------------

[](#getting-involved)

Want to get involved and improve *Advanced Custom Fields: Gravity Forms Add-on*? Fork this repo and whenever you have something just make a pull request. After review we might add it to our [GitHub Repository](https://github.com/DannyvanHolten/acf-gravityforms-add-on).

Credits
-------

[](#credits)

This plugin is maintained by [Say Hello GmbH](https://www.sayhello.ch/agency/), a specialist WordPress agency in Spiez, Switzerland.

The plugin was initially developed by [Danny van Holten](https://github.com/DannyvanHolten) based on work by [@stormuk](https://github.com/stormuk/Gravity-Forms-ACF-Field), ([@lgladdy](https://github.com/lgladdy) and [@adampope](https://github.com/adampope)).

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 54.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~97 days

Recently: every ~46 days

Total

22

Last Release

1284d ago

Major Versions

0.9 → 1.02017-04-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/497ed95550c27884491bd05ce0cdaf7e0b086ee0ae63ef105333d1856800e8f9?d=identicon)[DannyvanHolten](/maintainers/DannyvanHolten)

---

Top Contributors

[![DannyvanHolten](https://avatars.githubusercontent.com/u/6751652?v=4)](https://github.com/DannyvanHolten "DannyvanHolten (101 commits)")[![markhowellsmead](https://avatars.githubusercontent.com/u/1571592?v=4)](https://github.com/markhowellsmead "markhowellsmead (78 commits)")[![cezarpopa](https://avatars.githubusercontent.com/u/3178790?v=4)](https://github.com/cezarpopa "cezarpopa (1 commits)")[![bonny](https://avatars.githubusercontent.com/u/221570?v=4)](https://github.com/bonny "bonny (1 commits)")[![normanfrancis](https://avatars.githubusercontent.com/u/31942547?v=4)](https://github.com/normanfrancis "normanfrancis (1 commits)")[![spivurno](https://avatars.githubusercontent.com/u/550549?v=4)](https://github.com/spivurno "spivurno (1 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (1 commits)")

### Embed Badge

![Health badge](/badges/dannyvanholten-acf-gravityforms-add-on/health.svg)

```
[![Health](https://phpackages.com/badges/dannyvanholten-acf-gravityforms-add-on/health.svg)](https://phpackages.com/packages/dannyvanholten-acf-gravityforms-add-on)
```

###  Alternatives

[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/builder-plugin

Builder plugin for October CMS

17147.2k1](/packages/rainlab-builder-plugin)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5671.4k1](/packages/pfefferle-wordpress-activitypub)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

18238.1k2](/packages/civicrm-civicrm-drupal-8)[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1352.4k](/packages/mediawiki-semantic-glossary)[humanmade/lottie-lite

A lightweight Lottie Animations Extension for WordPress

374.3k](/packages/humanmade-lottie-lite)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
