- availability:
-
WPML Version: 4.2.8
- description:
-
This filter defines where to place the WPML post edit meta box.
- type:
- filter
- category:
- Miscellaneous
- parameters:
-
- side
- This will display the WPML language box in the sidebar.
- normal
- This will display the WPML language box beneath the main editor.
- advanced
- The same as “normal” but with lower priority. So, if you have two meta boxes, one with context set to normal and the other set to advanced, the box with the normal context will be displayed first/before.
- hook example usage:
-
add_filter('wpml_post_edit_meta_box_context', function (){ return 'normal'; });