Skip to content

Exporter feature

Pre-release
Pre-release

Choose a tag to compare

@jofrysutanto jofrysutanto released this 28 Jul 11:39
· 27 commits to master since this release

This major addition introduces new UI config which can be toggled ON to give users access to Exporter page.

ui-screenshot 4bef8dc3

Enabling exporter:

function modify_windsor_config($config) {
  return array_merge($config, [
    'ui' => true,
    // Or use the expanded version below:
    // 'ui' => [
      // --- {boolean} Same effect as `'ui' => true`
      // 'enabled' => true,
      // --- {boolean} Use this to inline Windsor's styles and scripts.
      // --- This is useful when working with WordPress environment that prevents public url access to `vendor/` directory.
      // 'inline_assets' => true,
    ]
  ]);
}
add_filter('acf-windsor/config', 'modify_windsor_config');

The exporter should dramatically ease the efforts of developers looking to transition their ACF fields management into Windsor.

For more information, refer to the documentation site

This is the last feature I have planned to get out of pre-release version, but feedback will be appreciated to accumulate enough confidence to tag a 1.0 version especially with the exporter tool.