Support

Account

Home Forums Backend Issues (wp-admin) Create a plugin with the Exported code

Solved

Create a plugin with the Exported code

  • Hi there,

    I’d love to create a plugin with the Exported code but it seems like it only works if inserted on the functions.php page.

    Can it be done? If so, how?

    Many thanks in advance!!

  • Hi @Luis

    The register_field_group function will work in another plugin, as long as ACF is activated and your code is run on the ‘plugins_loaded’ action.

    This will ensure your code runs AFTER ACF exists.

    Thanks
    E

  • Perfect, it works. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Create a plugin with the Exported code’ is closed to new replies.