WP Manifestindependent plugin directory
manifest / developer / cfmb-compatibility-mode

CFMB Compatibility Mode

Free WordPress plugin that keeps Advanced Custom Fields (ACF, ACF Pro, SCF) template functions like get_field(), have_rows(), get_sub_field() and options pages working after you switch to CFMB - Custom Fields Meta Box. No template edits needed.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/mozi2wp/cfmb-compatibility-mode/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

CFMB Compatibility Mode - keep get_field() working after migrating from ACF

CFMB Compatibility Mode

Keep get_field(), have_rows() and other ACF template functions working after you migrate from Advanced Custom Fields to the free CFMB - Custom Fields Meta Box plugin. No template edits needed.

WordPress.org · CFMB on GitHub

Supported functions

get_field(), the_field(), get_fields(), get_field_object(), update_field(), delete_field(), have_rows(), the_row(), get_sub_field(), the_sub_field(), get_row_layout(), get_row_index(), reset_rows(), acf_add_options_page(), acf_add_options_sub_page().

Each is a thin wrapper around its cfmb_ version. Arguments like 'option', 'user_5', 'term_12' and field_… keys are translated.

Migrate from ACF without breaking your theme

  1. Install CFMB - Custom Fields Meta Box and run its Switch Assistant.
  2. Install CFMB Compatibility Mode.
  3. Deactivate ACF or Secure Custom Fields. The theme keeps working.
  4. Replace get_field() with cfmb_get_field() over time, then remove this plugin.

Safe next to ACF

The functions are never defined while ACF, ACF Pro or Secure Custom Fields is active, and each one is wrapped in function_exists().

License

GPLv2 or later. Made by Mozi2WP. Not affiliated with Advanced Custom Fields or WP Engine.