wpml_sub_setting

wpml_sub_setting

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

apply_filters('wpml_sub_setting') is found 1 times:

  • /vendor/wpmetabox/meta-box/inc/wpml.php line 100
    096
    097
    098
    099
    100
    101
    102
    103
    104
    105
    106
        return $field;
    }
     
    // Get setting for the custom field translation.
    $custom_fields_translation = apply_filters( 'wpml_sub_setting', false, 'translation-management', 'custom_fields_translation' );
    if ( ! isset( $custom_fields_translation[ $field['id'] ] ) ) {
        return $field;
    }
     
    $setting = intval( $custom_fields_translation[ $field['id'] ] );
    if ( 0 === $setting ) {           // Do not translate: hide it.