ACF Support#41
Conversation
|
Hey @jonny-bull! Thank you for your PR and the time you spent on this feature, it's very much appreciated. 🥇 Just testing the your new branch locally and initially I didn't have ACF installed and I get this fatal error. Can we set this up in a way that checks for the plugin's presence before initializing just-in-case any users don't want to use it with ACF? Probably a wider question this also, the |
6eabf52 to
c0bb740
Compare
|
Apologies for the delay on responding. I've updated the code to support PHP 5.6. I wouldn't be against bumping the PHP version up to 7.1 but wouldn't want to break it for any current users. Waiting for a major release sounds like a sensible option. Also fixed that bug with the |
fcf269f to
d8e7887
Compare
8ffc64c to
c41efdc
Compare
28b2c82 to
cd17735
Compare
|
@jamesrwilliams have you had chance to look at these PRs? I've noticed my PRs fail the new code analysis check but, from what I can make out, most of the code in this plugin fails those checks. Following existing conventions within the plugin is largely no longer an option and amending existing functionality can lead to some fairly major rewrites. There's also no documentation of what the checks are, as far as I can see, so it's hard to make sure I'm following the required standards locally. So:
|
Adds an ACF filter for Flagpole flags
Allows users to show or hide ACF field groups based on a feature flag, or combination of multiple flags.