Comments (2)
Hi @Sysix
I've just spent some time refactoring the WPML code in ACF, and have added this in. Thanks again for the info, this is much better than using the ICL_LANGUAGE_CODE
constant.
from acf.
Hi @Sysix
Good point. I'll take a look at when get_current_language()
was added. If this is a function that has been around for a while, I'm happy to make this change :)
from acf.
Related Issues (20)
- Fixing PHP Fatal Error: Allowed Memory Size Exhausted HOT 1
- Implement option for customizing height of WYSIWYG editor
- ACF (Pro) has fixed its init call function since version 6.1.0 and thus no longer executes the call of the PHP function. HOT 7
- Post Types Custom Capabilities HOT 4
- post_type_exists is false HOT 3
- Post Object fields not showing options in the editor HOT 1
- Duplicating a 'group' field is throwing a JS error HOT 1
- Duplicating a duplicated flexible content layout throws a JS error HOT 1
- FrontEnd: providesContext usesContext does not work HOT 8
- Apply same post format as WP JSON if ACF return format is Post Object? HOT 1
- Force open 'Advanced' components-panel HOT 1
- Registering Gutenberg block with $args instead of block.json HOT 1
- Uncaught TypeError - when changing Permalink Rewrite to No Permalink HOT 3
- Update ACF blocks via block API dosen't work as expected HOT 5
- Required fields validation ignored on sidebar HOT 5
- Registering taxonomies before CPTs HOT 3
- ACF WSYIWIG Unknown Tag: <!-- wp:header -->
- Extending the part how ACF is updating the block preview to provide a better user experience
- Greater than character in theme templates causing issues
- Edit link modal not working on WYSIWYG fields in sidebar groups HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acf.