-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin checks acf_register_block before ACF is initialized #19
Comments
This is probably not due to a wrong implementation of ACF. If you still find issues please provide WP + plugins versions. |
Hi @luukskeur, I have the same problem. It look like the I am using |
I found the problem. I required |
I seem to be having the same issue with Sage 9, despite using ACF Pro. Any recommendations on how to work around this when not using bedrock? |
Hello!
I just tried your plugin but ran into an issue. The blocks didn't get loaded, because you very first check failed.
if (! function_exists('acf_register_block')) { return; }
I guess the problem is the way i implemented ACF (I include it in the setup.php of my sage theme).
An easy fix would be, to move the check into the 'acf/init' action. Or would that break something?
Is there a recommended way to include ACF Pro into Sage, so your plugin works out of the box?
Thanks!
The text was updated successfully, but these errors were encountered: