Title: Register fields via PHP
Last modified: February 10, 2021

---

# Register fields via PHP

 *  [alexsoyer](https://wordpress.org/support/users/alexsoyer/)
 * (@alexsoyer)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/register-fields-via-php/)
 * Hi there,
 * I just created a blank theme with default configuration in order to register 
   custom groups, following the documentation : [https://www.advancedcustomfields.com/resources/register-fields-via-php/](https://www.advancedcustomfields.com/resources/register-fields-via-php/)
 * Despite my efforts, I couldn’t register any groups.
 * JSON sync is working very well, as long as the admin.
 * Neither the generated PHP nor the code given in the documentation seem to work.
 * ACF v 5.9.4
 * Thank you for your help
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fregister-fields-via-php%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Register fields via PHP’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [alexsoyer](https://wordpress.org/support/users/alexsoyer/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/register-fields-via-php/)
 * Status: not resolved