WPML
wpml_post_edit_meta_box_context
Type
filter
Category
Miscellaneous
WPML Version
4.2.8

Description

This filter defines where to place the WPML post edit meta box.

Arguments

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.

Example usage

add_filter('wpml_post_edit_meta_box_context', function (){
    return 'normal';
});

icl_ls_languages, wpml_sync_custom_field_copied_value, wpml_ls_enable_ajax_navigation, wpml_element_type, wpml_setting, wpml_sub_setting, wpml_exclude_post_from_auto_translate, wpml_forms_config_ninja-forms, wpml_forms_config_wpforms, wpml_tf_feedback_open_link

All 30 Miscellaneous hooks →