Can't add anything to flynt's functions.php (flynt 2.1.1) #590
-
I've tried adding things to the flynt functions.php file, such as the ACF pro google maps api code which they supply, but get a fatal error: I added this to the end of the flynt functions.php with no other edits. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@Iain-g in Flynt, namespaces are used and it looks like your
Alternatively, you can use an anonymous function like this:
|
Beta Was this translation helpful? Give feedback.
@Iain-g in Flynt, namespaces are used and it looks like your
functions.php
file is missing one at the filter part. Based on your example, this should work:Alternatively, you can use an anonymous function like this: