I would like to use ACF fields in my custom plugin’s settings page, but can’t figure out if this is possible. I know I can use ACF’s acf_add_options_page() to create a custom options page in the main WP Admin sidemenu. However, I already have a settings page created for my plugin (e.g. Settings > My Plugin’s Settings Page) and ideally I could load/save ACF fields there.
For an options page added via ACF, I know I can choose it in the Rules section with the settings for an ACF Group, but as far as I can tell there’s no way to select my plugin’s settings page in the ACF Group settings.
For example, I can get ACF fields to display on the first URL,which was created using acf_add_options_page(), but I can’t get them to work with the latter URL which was created within my plugin using the Settings API.
http://website.testing/wp-admin/admin.php?page=my-plugin-options-page
http://website.testing/wp-admin/options-general.php?page=my-plugin-settings-page
@bentalgad no I didn’t find a solution yet, I just moved on to other things I needed to work on. Definitely still interested in this though.