Skip to content

WPML Admin text help. #1015

@tw2113

Description

@tw2113

Add to this line: https://github.com/WebDevStudios/custom-post-type-ui/blame/1.18.2/custom-post-type-ui.php#L396

$slug      = isset( $post_type['name'] ) ? $post_type['name'] : '';
$text_name  = '[cptui_post_types][' . $slug . '][labels]' . $key; 
$label = apply_filters( 'wpml_translate_single_string', $label, 'admin_texts_cptui_post_types', $text_name ); 

Consider checking for WPML first, even though if not available, the apply_filters shouldn't do anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions