=== Dcode Snippet Helper for ACF ===

Contributors: jatinparmar
Tags: acf, advanced custom fields, code generator, snippet, developer tools
Requires at least: 6.0
Tested up to: 6.9
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate ready-to-use ACF PHP snippets directly inside the WordPress admin with live field detection and one-click copy support.

== Description ==

Dcode Snippet Helper for ACF is a developer-focused utility plugin that helps generate ready-to-use PHP code snippets directly from the Advanced Custom Fields (ACF) field group editor.

The plugin automatically detects ACF fields and provides clean, copy-ready code snippets for faster WordPress theme and plugin development.

It eliminates the need to manually write repetitive ACF functions such as `get_field()`, `get_sub_field()`, repeater loops, and flexible content structures.

= Features =

* Live detection of ACF fields
* Instant PHP snippet generation
* One-click copy code button
* Supports Repeater fields
* Supports Flexible Content fields
* Supports Image, File, Gallery, Link, and Relationship fields
* Clean and lightweight admin interface
* Developer-friendly workflow
* Compatible with both ACF Free and ACF Pro

= Perfect For =

* WordPress developers
* Theme developers
* Freelancers
* Agencies
* Beginners learning ACF
* Faster development workflows

== Installation ==

1. Upload the `dcode-snippet-helper-for-acf` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Open any ACF Field Group from the WordPress admin panel.
4. Use the "Dcode Snippet Helper" sidebar to generate and copy snippets instantly.

== Frequently Asked Questions ==

= Does this plugin work with ACF Pro? =

Yes. The plugin is compatible with both ACF Free and ACF Pro.

= Does it support Repeater and Flexible Content fields? =

Yes. The plugin supports nested fields and generates loop-based snippets automatically.

= Can I copy snippets directly from the admin panel? =

Yes. Every supported field includes a one-click copy button.

== Notes ==

* Repeater and Flexible Content snippets use example loop structures.
* Snippets adapt based on field type and return format when available.
* Designed for development convenience and faster ACF integration.

== Changelog ==

= 1.1.0 =

* Improved flexible content field detection
* Added per-field copy button support
* Improved UI and admin experience
* Performance optimizations
* Better snippet generation logic

== Screenshots ==

1. Main plugin interface inside the ACF field group editor
2. Generated PHP snippet preview with one-click copy functionality
3. Repeater field snippet generation example
4. Flexible Content field support example