• Resolved timbr

    (@brugman)


    I noticed ACFE enables a lot of features out of the box. Dozens! The one I was interested in has a snippet in the docs to disable it. (I can’t be specific right now, docs are down along with Cloudflare)

    I like to only enable features that I need. Piecemeal. If ACFE turns this around, we get everything and then have to disable things one by one, could you provide a long snippet that disables everything? Then we can remove parts of that snippet to effectively enable a single feature.

    I could try to piece this together myself by scouring every single docs page, but I could make mistakes, and there could be undocumented features.

    Thanks for your time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    I can understand some users would like to disable everything, and just activate what they need. However, from an experience point of view (and maintainability), it’s easier to have core features enabled, so the plugin is ready to be used when installed.

    It’s the same logic as ACF itself. When a user install ACF, it expect it to work out of the box.

    In ACF Extended, modules can be disabled but additions to ACF Fields/Settings cannot.

    Here is the snippet you can use to disable all free modules:

    add_action('acfe/init', 'my_acfe_modules');
    function my_acfe_modules(){

    // disable ACFE modules
    acfe_update_setting('modules/block_types', false);
    acfe_update_setting('modules/forms', false);
    acfe_update_setting('modules/options_pages', false);
    acfe_update_setting('modules/post_types', false);
    acfe_update_setting('modules/taxonomies', false);
    acfe_update_setting('modules/author', false);
    acfe_update_setting('modules/ui', false);
    acfe_update_setting('modules/field_group_ui', false);
    acfe_update_setting('modules/multilang', false);
    acfe_update_setting('modules/options', false);

    }

    You’ll find them under the “Modules” and “WordPress” categories in the documentation.

    Hope it helps!

    Have a nice day!

    Regards.

    Thread Starter timbr

    (@brugman)

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.